mirror of https://github.com/ceph/ceph-ansible.git
config: fix external client scenario
When no monitor group is present in the inventory, this task fails. This affects only non-containerized deployments. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/5019/head
parent
641729357e
commit
e7bc079405
|
@ -137,7 +137,7 @@
|
||||||
config_overrides: "{{ ceph_conf_overrides }}"
|
config_overrides: "{{ ceph_conf_overrides }}"
|
||||||
config_type: ini
|
config_type: ini
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[mon_group_name]
|
- inventory_hostname in groups.get(mon_group_name, [])
|
||||||
- ceph_conf_local | bool
|
- ceph_conf_local | bool
|
||||||
|
|
||||||
- name: config file operations for containerized scenarios
|
- name: config file operations for containerized scenarios
|
||||||
|
|
Loading…
Reference in New Issue