mirror of https://github.com/ceph/ceph-ansible.git
dashboard: change dashboard_grafana_api_no_ssl_verify default value
This sets the `dashboard_grafana_api_no_ssl_verify` default value
according to the length of `dashboard_crt` and `dashboard_key`.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 5cadfea42e
)
pull/6010/head
parent
c9b7e46213
commit
aadef08311
|
@ -754,7 +754,7 @@ dummy:
|
|||
#dashboard_crt: ''
|
||||
#dashboard_key: ''
|
||||
#dashboard_tls_external: false
|
||||
#dashboard_grafana_api_no_ssl_verify: False
|
||||
#dashboard_grafana_api_no_ssl_verify: "{{ true if dashboard_protocol == 'https' and not grafana_crt and not grafana_key else false }}"
|
||||
#dashboard_rgw_api_user_id: ceph-dashboard
|
||||
#dashboard_rgw_api_admin_resource: ''
|
||||
#dashboard_rgw_api_no_ssl_verify: False
|
||||
|
|
|
@ -754,7 +754,7 @@ ceph_docker_registry_auth: true
|
|||
#dashboard_crt: ''
|
||||
#dashboard_key: ''
|
||||
#dashboard_tls_external: false
|
||||
#dashboard_grafana_api_no_ssl_verify: False
|
||||
#dashboard_grafana_api_no_ssl_verify: "{{ true if dashboard_protocol == 'https' and not grafana_crt and not grafana_key else false }}"
|
||||
#dashboard_rgw_api_user_id: ceph-dashboard
|
||||
#dashboard_rgw_api_admin_resource: ''
|
||||
#dashboard_rgw_api_no_ssl_verify: False
|
||||
|
|
|
@ -746,7 +746,7 @@ dashboard_admin_user_ro: false
|
|||
dashboard_crt: ''
|
||||
dashboard_key: ''
|
||||
dashboard_tls_external: false
|
||||
dashboard_grafana_api_no_ssl_verify: False
|
||||
dashboard_grafana_api_no_ssl_verify: "{{ true if dashboard_protocol == 'https' and not grafana_crt and not grafana_key else false }}"
|
||||
dashboard_rgw_api_user_id: ceph-dashboard
|
||||
dashboard_rgw_api_admin_resource: ''
|
||||
dashboard_rgw_api_no_ssl_verify: False
|
||||
|
|
Loading…
Reference in New Issue