diff --git a/ansible/site.yml b/ansible/site.yml index f3c162efa2..c7086f76b2 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -10,9 +10,8 @@ gather_facts: false tasks: - setup: - when: - - (play_hosts | length) == (groups['all'] | length) - + tags: always + # NOTE(pbourke): This case covers deploying subsets of hosts using --limit. The # limit arg will cause the first play to gather facts only about that node, # meaning facts such as IP addresses for rabbitmq nodes etc. will be undefined