]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docker2podman: do not hardcode group name
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Nov 2019 14:12:59 +0000 (15:12 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 2 Dec 2019 14:11:12 +0000 (09:11 -0500)
let's use `client_group_name` instead of hardcoding the name.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/docker-to-podman.yml

index fad21f5a6648951bb381678a71f09c564354f2c1..65f4668c191a29bad5b73035a187472ca2588e63 100644 (file)
@@ -33,7 +33,7 @@
       setup:
       delegate_to: "{{ item }}"
       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
       when: delegate_facts_host | bool