mirror of https://github.com/ceph/ceph-ansible.git
update: import ceph-defaults role in first play
Typical error: ``` fatal: [mon0]: FAILED! => msg: |- The conditional check 'not delegate_facts_host | bool or inventory_hostname in groups.get(client_group_name, [])' failed. The error was: error while evaluating conditional (not delegate_facts_host | bool or inventory_hostname in groups.get(client_group_name, [])): 'client_group_name' is undefined ``` Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4551/head
parent
7fdf8b62be
commit
8138d4193c
|
@ -57,6 +57,9 @@
|
|||
tasks:
|
||||
- debug: msg="gather facts on all Ceph hosts for following reference"
|
||||
|
||||
- import_role:
|
||||
name: ceph-defaults
|
||||
|
||||
- name: gather facts
|
||||
setup:
|
||||
when: not delegate_facts_host | bool or inventory_hostname in groups.get(client_group_name, [])
|
||||
|
|
Loading…
Reference in New Issue