ceph-ansible/roles/ceph-facts/tasks
Dimitri Savineau 9da917501b ceph-facts: fix _container_exec_cmd fact value
When using different name between the inventory_hostname and the
ansible_hostname then the _container_exec_cmd fact will get a wrong
value based on the inventory_hostname instead of the ansible_hostname.
This happens when the ceph cluster is already running (update/upgrade).

Later the container exec commands will fail because the container name
is wrong.

We should always set the _container_exec_cmd based on the
ansible_hostname fact.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1795792

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 1fcafffdad)
2020-01-29 11:48:44 +01:00
..
container_binary.yml facts: isolate container_binary facts 2019-12-03 09:57:11 -05:00
facts.yml ceph-facts: fix _container_exec_cmd fact value 2020-01-29 11:48:44 +01:00
grafana.yml ceph-facts: move grafana fact to dedicated file 2020-01-13 16:28:23 -05:00
main.yml introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
set_monitor_address.yml defaults: change monitor|radosgw_address default values 2020-01-13 14:55:23 -05:00
set_radosgw_address.yml defaults: change monitor|radosgw_address default values 2020-01-13 14:55:23 -05:00