diff --git a/infrastructure-playbooks/purge-docker-cluster.yml b/infrastructure-playbooks/purge-docker-cluster.yml index 6b0969056..ff12e2765 100644 --- a/infrastructure-playbooks/purge-docker-cluster.yml +++ b/infrastructure-playbooks/purge-docker-cluster.yml @@ -313,7 +313,7 @@ setup: delegate_to: "{{ item }}" delegate_facts: True - with_items: "{{ groups[mon_group_name] | default('mons') }}" + with_items: "{{ groups.get(mon_group_name, 'mons') }}" tasks: