]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
dashboard: allow remote TLS cert/key copy
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 30 Jul 2020 16:04:18 +0000 (12:04 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Aug 2020 11:39:47 +0000 (13:39 +0200)
commit0d0f1e71df33484d6619aeaa97eb21d7dfc0ea48
tree25ad018001e74a46a15b6ddd7f138e8947b9b6f5
parentec0a37a74ffbefcce42582c57c6726cc001f98ab
dashboard: allow remote TLS cert/key copy

When using TLS on the ceph dashboard or grafana services, we can provide
the TLS certificate and key.
Those files should be present on the ansible controller and they will be
copyied to the right node(s).
In some situation, the TLS certificate and key could be already present
on the target node and not on the ansible controller.
For this scenario, we just need to copy the files locally (on each remote
host).

This patch adds the dashboard_tls_external variable (with default to
false) to allow users to achieve this scenario when configuring this
variable to true.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1860815
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-dashboard/tasks/configure_dashboard.yml
roles/ceph-defaults/defaults/main.yml
roles/ceph-grafana/tasks/configure_grafana.yml