ceph-facts: make set_radosgw_address optional

This can help to define custom rgw_instances with custom names and ports and addresses.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
pull/7489/head
Seena Fallah 2024-02-24 00:58:53 +01:00 committed by Guillaume Abrioux
parent c64d6d4d60
commit b1848ac957
1 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,9 @@
- name: Import_tasks set_radosgw_address.yml - name: Import_tasks set_radosgw_address.yml
ansible.builtin.include_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 - name: Set_fact ceph_run_cmd
ansible.builtin.set_fact: ansible.builtin.set_fact: