ceph-ansible/roles/ceph-facts/tasks
Guillaume Abrioux 8279d14d32 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>
2021-06-17 01:49:29 +02:00
..
container_binary.yml docker2podman: skip some role imports from handler 2021-04-09 15:28:50 +02:00
convert_grafana_server_group_name.yml ceph-facts: fix grafana group conversion 2020-12-10 16:51:16 +01:00
facts.yml convert some missed `ansible_*`` calls to `ansible_facts['*']` 2021-03-25 15:19:13 +01:00
get_def_crush_rule_name.yml library: add ceph_crush_rule module 2020-12-01 17:52:41 +01:00
grafana.yml Use ansible_facts 2021-03-08 20:54:02 +01:00
main.yml ceph-facts: fix grafana group conversion 2020-12-10 16:51:16 +01:00
set_monitor_address.yml Use ansible_facts 2021-03-08 20:54:02 +01:00
set_radosgw_address.yml multisite: fix bug during switch2containers 2021-06-17 01:49:29 +02:00