mirror of https://github.com/ceph/ceph-ansible.git
ceph-config: check for set_radosgw_address before importing task
Signed-off-by: Seena Fallah <seenafallah@gmail.com>pull/7502/head
parent
f96c0441e3
commit
49ec2479ea
|
@ -171,7 +171,9 @@
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: ceph-facts
|
name: ceph-facts
|
||||||
tasks_from: set_radosgw_address.yml
|
tasks_from: 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: Generate Ceph file
|
- name: Generate Ceph file
|
||||||
openstack.config_template.config_template:
|
openstack.config_template.config_template:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: Generate systemd ceph-mon target file
|
- name: Generate systemd ceph target file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: ceph.target
|
src: ceph.target
|
||||||
dest: /etc/systemd/system/ceph.target
|
dest: /etc/systemd/system/ceph.target
|
||||||
|
|
Loading…
Reference in New Issue