From 62ced715bd6f97bf2eace2d0b23406bd6dfd3341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Jeanneret?= Date: Fri, 5 Nov 2021 08:59:46 +0100 Subject: [PATCH] Ensure we mount the certificates in container We must ensure we actually mount the certificates in ceph boostrap container when we have TLS involved. Change-Id: I05c894b2fbd0795dd38b937a82e238b85235d6c3 (cherry picked from commit 55b47ddc36af0df635a78b29026368c4cc489083) --- .../roles/tripleo_cephadm/tasks/dashboard/dashboard.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tripleo_ansible/roles/tripleo_cephadm/tasks/dashboard/dashboard.yaml b/tripleo_ansible/roles/tripleo_cephadm/tasks/dashboard/dashboard.yaml index 2eccc1cb0..7232aa12b 100644 --- a/tripleo_ansible/roles/tripleo_cephadm/tasks/dashboard/dashboard.yaml +++ b/tripleo_ansible/roles/tripleo_cephadm/tasks/dashboard/dashboard.yaml @@ -19,6 +19,7 @@ vars: mount_spec: true sensitive_data: true + mount_certs: "{{ (tripleo_cephadm_dashboard_protocol == 'https' and tripleo_cephadm_dashboard_crt | length > 0 and tripleo_cephadm_dashboard_key | length > 0) | bool }}" - name: Configure the Ceph Dashboard port become: true