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
Guillaume Abrioux 2020-01-31 11:51:54 +01:00
parent 641729357e
commit e7bc079405
1 changed files with 1 additions and 1 deletions

View File

@ -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