]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-dashboard: remove bool filter for rgw vars
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 8 Jul 2019 13:43:13 +0000 (09:43 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Jul 2019 09:48:58 +0000 (11:48 +0200)
commit3bdcbb005fe3d578d47eebef9cb56da23e45d990
treeb5b12ddd1fae7da4c566bda0ba8a67f49a018674
parentc040c34d97980a3554264b24355ec9c4d02784a8
ceph-dashboard: remove bool filter for rgw vars

Some dashboard_rgw_api_* variables are using the bool filter but those
variables are strings with an empty string as default value.
So we should test the variable against an empty string instead of a
bool.

dashboard_rgw_api_host: ''
dashboard_rgw_api_port: ''
dashboard_rgw_api_scheme: ''
dashboard_rgw_api_admin_resource: ''

Resolves: #4179

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 5413274412394c314df578ddf5208b79af75f222)
roles/ceph-dashboard/tasks/configure_dashboard.yml