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>
pull/3991/head
Guillaume Abrioux 2019-05-15 16:16:55 +02:00
parent 50672c65a6
commit cd5f3fca64
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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"