diff --git a/site-container.yml.sample b/site-container.yml.sample index 1c2c922e4..098cce826 100644 --- a/site-container.yml.sample +++ b/site-container.yml.sample @@ -57,7 +57,7 @@ - import_role: name: ceph-container-common tags: fetch_container_image - when: not (inventory_hostname in groups.get('clients', [])) or (inventory_hostname == groups.get('clients', [''])|first) + when: (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first) - hosts: mons gather_facts: false