mirror of https://github.com/ceph/ceph-ansible.git
dashboard: convert dashboard_rgw_api_no_ssl_verify to a bool
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 cd5f3fca64
)
pull/3999/head
parent
303ef4e8aa
commit
567c6ceb43
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue