mirror of https://github.com/ceph/ceph-ansible.git
Setting fact _radosgw_address fail when RGW is on a different network
Changed the when condition to only execute that fact setting on RGW
nodes while before it was run on all nodes and failed if the node
was not on the same network range as the RGW.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2131150
Signed-off-by: Teoman ONAY <tonay@redhat.com>
(cherry picked from commit 590e57cc1b
)
pull/7347/head
v4.0.70.20
parent
3cca408738
commit
2c94bac7db
|
@ -36,7 +36,7 @@
|
|||
loop: "{{ groups.get(rgw_group_name, []) }}"
|
||||
loop_control:
|
||||
loop_var: ceph_dashboard_call_item
|
||||
when: groups.get(rgw_group_name, []) | length > 0
|
||||
when: inventory_hostname in groups.get(rgw_group_name, [])
|
||||
|
||||
- name: disable SSL for dashboard
|
||||
command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} config set mgr mgr/dashboard/ssl false"
|
||||
|
|
Loading…
Reference in New Issue