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
(cherry picked from commit 7ff794663b
)
This commit is contained in:
parent
36fdfc5375
commit
e17ed6430d
|
@ -113,6 +113,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…
Reference in New Issue