From 2b8ebf14574e927bfabd939cc6263eb27a65afb3 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Fri, 17 Jul 2020 10:38:02 -0400 Subject: [PATCH] ceph-dashboard: copy TLS cert/key on monitor The ceph-dashboard role is executed on the mgr nodes so the TLS cert/key files are copied to those nodes. But we are running importing the cert/key files into the ceph configuration on the monitor. Closes: #5557 Signed-off-by: Dimitri Savineau --- roles/ceph-dashboard/tasks/configure_dashboard.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ceph-dashboard/tasks/configure_dashboard.yml b/roles/ceph-dashboard/tasks/configure_dashboard.yml index f0e17eea4..2405ad69e 100644 --- a/roles/ceph-dashboard/tasks/configure_dashboard.yml +++ b/roles/ceph-dashboard/tasks/configure_dashboard.yml @@ -25,6 +25,7 @@ owner: root group: root mode: 0440 + delegate_to: "{{ groups[mon_group_name][0] }}" when: dashboard_crt | length > 0 - name: copy dashboard SSL certificate key @@ -34,6 +35,7 @@ owner: root group: root mode: 0440 + delegate_to: "{{ groups[mon_group_name][0] }}" when: dashboard_key | length > 0 - name: generate and copy self-signed certificate -- 2.39.5