tripleo-heat-templates/deployment/ceph-ansible
Francesco Pantano 4142778f8b Rely on the HOSTNAME var to resolve the mon container name
We previously used the {{ ansible_hostname }} variable as a replacement
for ${HOSTNAME} when the ceph-mon container name needed to be resolved
during the FFU process.
However, sounds like {{ ansible_hostname }} doesn't return the value of
the delegated host [1].
The purpose of this change is to compute the hostname relying on the
exported env var and it's supposed to fix the tls-everywhere use case
(when a more complex domain is provided).

[1] https://github.com/ansible/ansible/issues/14958

Closes-Bug: #1903537
Change-Id: I77e3e5e4336a5d3f76b10d09cf7034023fbec075
(cherry picked from commit 3e2371f71f)
2020-12-22 07:40:42 +00:00
..
ceph-base.yaml Refresh ceph-ansible group_vars values 2020-11-20 13:28:38 +00:00
ceph-client.yaml Add CephClientConfigOverrides resource 2020-10-13 16:20:50 +02:00
ceph-external.yaml Add filestore to bluestore migration tags 2020-07-03 17:21:04 +02:00
ceph-grafana.yaml node_exporter_container_image is needed in 'all' group 2020-11-11 06:16:16 +00:00
ceph-mds.yaml [FFWD Ceph] Fix ceph post_upgrade_tasks for osd options 2020-08-21 14:19:14 +02:00
ceph-mgr.yaml Always set dashboard_protocol when Ceph Dashboard is enabled 2020-11-06 18:37:22 +00:00
ceph-mon.yaml [FFWD Ceph] Fix ceph post_upgrade_tasks for osd options 2020-08-21 14:19:14 +02:00
ceph-nfs.yaml FFU support for ceph_nfs 2020-07-15 10:32:04 +00:00
ceph-osd.yaml Rely on the HOSTNAME var to resolve the mon container name 2020-12-22 07:40:42 +00:00
ceph-rbdmirror.yaml Add filestore to bluestore migration tags 2020-07-03 17:21:04 +02:00
ceph-rgw.yaml Refresh ceph-ansible group_vars values 2020-11-20 13:28:38 +00:00