Browse Source

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
changes/30/743030/2
Francesco Pantano 1 year ago
parent
commit
7ff794663b
No known key found for this signature in database GPG Key ID: 799868C47301D458
  1. 1
      deployment/ceph-ansible/ceph-mgr.yaml

1
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:

Loading…
Cancel
Save