ceph-ansible/roles/ceph-facts/tasks
Guillaume Abrioux 98eb93db3e multisite: fix bug during switch2containers
When running the switch-to-containers playbook with multisite enabled,
the fact "rgw_instances" is only set for the node being processed
(serial: 1), the consequence of that is that the set_fact of
'rgw_instances_all' can't iterate over all rgw node in order to look up
each 'rgw_instances_host'.

Adding a condition checking whether hostvars[item]["rgw_instances_host"]
is defined fixes this issue.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8279d14d32)
2021-06-17 07:20:37 +02:00
..
container_binary.yml docker2podman: skip some role imports from handler 2021-04-12 13:30:31 +02:00
facts.yml Disable facts by default in ansible.cfg 2021-03-26 00:16:58 +01:00
get_def_crush_rule_name.yml osd: use default crush rule name when needed 2020-03-31 19:42:40 -04:00
grafana.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
main.yml introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
set_monitor_address.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
set_radosgw_address.yml multisite: fix bug during switch2containers 2021-06-17 07:20:37 +02:00