mirror of https://github.com/ceph/ceph-ansible.git
docker2podman: do not hardcode group name
let's use `client_group_name` instead of hardcoding the name.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 7fe0d55eff
)
pull/4803/head
parent
c5145ccf25
commit
3bd8129859
|
@ -33,7 +33,7 @@
|
||||||
setup:
|
setup:
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ item }}"
|
||||||
delegate_facts: True
|
delegate_facts: True
|
||||||
with_items: "{{ groups['all'] | difference(groups.get('clients', [])) }}"
|
with_items: "{{ groups['all'] | difference(groups.get(client_group_name | default('clients'), [])) }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
when: delegate_facts_host | bool
|
when: delegate_facts_host | bool
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue