Skip to content

Commit

Permalink
Setting fact _radosgw_address fail when RGW is on a different network
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 590e57c)
  • Loading branch information
asm0deuz committed Oct 20, 2022
1 parent f802323 commit 524d6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ceph-dashboard/tasks/configure_dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
when: dashboard_protocol == "http"
Expand Down

0 comments on commit 524d6e9

Please sign in to comment.