diff --git a/group_vars/dashboards.yml.sample b/group_vars/dashboards.yml.sample index a5180a781..94c9a5f40 100644 --- a/group_vars/dashboards.yml.sample +++ b/group_vars/dashboards.yml.sample @@ -17,5 +17,5 @@ dummy: #dashboard_rgw_api_port: '' #dashboard_rgw_api_scheme: '' #dashboard_rgw_api_admin_resource: '' -#dashboard_rgw_api_no_ssl_verify: '' +#dashboard_rgw_api_no_ssl_verify: False diff --git a/roles/ceph-dashboard/defaults/main.yml b/roles/ceph-dashboard/defaults/main.yml index c3838e083..048dc75e7 100644 --- a/roles/ceph-dashboard/defaults/main.yml +++ b/roles/ceph-dashboard/defaults/main.yml @@ -9,4 +9,4 @@ dashboard_rgw_api_host: '' dashboard_rgw_api_port: '' dashboard_rgw_api_scheme: '' dashboard_rgw_api_admin_resource: '' -dashboard_rgw_api_no_ssl_verify: '' +dashboard_rgw_api_no_ssl_verify: False diff --git a/roles/ceph-dashboard/tasks/configure_dashboard.yml b/roles/ceph-dashboard/tasks/configure_dashboard.yml index d61edd6c8..1de6c2579 100644 --- a/roles/ceph-dashboard/tasks/configure_dashboard.yml +++ b/roles/ceph-dashboard/tasks/configure_dashboard.yml @@ -155,7 +155,7 @@ command: "{{ container_exec_cmd }} ceph dashboard set-rgw-api-ssl-verify False" changed_when: false delegate_to: "{{ groups[mon_group_name][0] }}" - when: dashboard_rgw_api_no_ssl_verify + when: dashboard_rgw_api_no_ssl_verify | bool - name: disable mgr dashboard module (restart) command: "{{ container_exec_cmd }} ceph mgr module disable dashboard"