ceph-ansible/roles/ceph-facts
Dimitri Savineau 1fcafffdad 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>
2020-01-29 08:44:59 +01:00
..
meta introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
tasks ceph-facts: fix _container_exec_cmd fact value 2020-01-29 08:44:59 +01:00
README.md introduce new role ceph-facts 2018-12-12 11:18:01 +01:00

README.md

Ansible role: ceph-facts

Documentation is available at http://docs.ceph.com/ceph-ansible/.