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/6021/head
parent
36f550b3b4
commit
7b7f20c636
|
@ -656,7 +656,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
|
||||
|
|
|
@ -656,7 +656,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
|
||||
|
|
|
@ -648,7 +648,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