make `dashboard_rgw_api_no_ssl_verify` a bool variable since it seems to
be used as it.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
cd5f3fca649ad823247f96e4060456ca44b1415e)
#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
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
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"