Skip to content

Commit

Permalink
ceph-facts: make set_radosgw_address optional
Browse files Browse the repository at this point in the history
This can help to define custom rgw_instances with custom names and ports and addresses.

Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw authored and guits committed Feb 28, 2024
1 parent c64d6d4 commit b1848ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/ceph-facts/tasks/facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@

- name: Import_tasks set_radosgw_address.yml
ansible.builtin.include_tasks: set_radosgw_address.yml
when: inventory_hostname in groups.get(rgw_group_name, [])
when:
- set_radosgw_address | default(true)
- inventory_hostname in groups.get(rgw_group_name, [])

- name: Set_fact ceph_run_cmd
ansible.builtin.set_fact:
Expand Down

0 comments on commit b1848ac

Please sign in to comment.