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>
(cherry picked from commit 49ec2479ea
)
pull/7519/head
parent
891dd55bc6
commit
fb76ea3cca
|
@ -171,7 +171,9 @@
|
|||
ansible.builtin.import_role:
|
||||
name: ceph-facts
|
||||
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
|
||||
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:
|
||||
src: ceph.target
|
||||
dest: /etc/systemd/system/ceph.target
|
||||
|
|
Loading…
Reference in New Issue