]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-dashboard: Improve https configuration
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 2 Oct 2019 19:24:38 +0000 (15:24 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 7 Oct 2019 07:08:16 +0000 (09:08 +0200)
commit249764047b9e85d3a858949872c1a1790b426044
treeb35b77f575222508b2e00b26a5cedc313c72b5fb
parent8138d4193c965a5c990c6c101ef7a9bf2e4080f7
ceph-dashboard: Improve https configuration

This patch moves the https dashboard configuration into a dedicated
block to avoid the multiple occurence of the dashboard_protocol
condition.
It also fixes the dashboard certificate and key variables handling in
the condition introduced by ab54fe2. Those variables aren't boolean but
strings so we can test them via the length filter.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-dashboard/tasks/configure_dashboard.yml