From 7ff794663b292adbf9d532bd597e9c9a75d0aacd Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Sat, 25 Jul 2020 14:53:00 +0200 Subject: [PATCH] Add dashboard_protocol variable when internal_tls is enabled When the Ceph dashboard is deployed using tls everywhere, ceph-ansible requires the dashboard_protocol variable set to 'https' to avoid the cert/key related tasks getting skipped. This change just adds the required variable, setting its value to 'https' when the condition is met. Closes-Bug: 1888982 Change-Id: Ice0ca431fe45fb20e1398dc9581bdffbd1a88f4f --- deployment/ceph-ansible/ceph-mgr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/ceph-ansible/ceph-mgr.yaml b/deployment/ceph-ansible/ceph-mgr.yaml index 9e615ff659..56ef5db1a8 100644 --- a/deployment/ceph-ansible/ceph-mgr.yaml +++ b/deployment/ceph-ansible/ceph-mgr.yaml @@ -126,6 +126,7 @@ outputs: - {get_attr: [CephMgrAnsibleVars, value, vars]} - dashboard_crt: /etc/pki/tls/certs/ceph_dashboard.crt - dashboard_key: /etc/pki/tls/private/ceph_dashboard.key + - dashboard_protocol: 'https' - {get_attr: [CephMgrAnsibleVars, value, vars]} - name: generate ceph-ansible group vars mgrs copy: