Merge "Revert "Avoid facts gathered twice when deploying with --limit""

This commit is contained in:
Jenkins 2017-06-11 20:39:41 +00:00 committed by Gerrit Code Review
commit 8e6340ae8a

@ -10,9 +10,8 @@
gather_facts: false gather_facts: false
tasks: tasks:
- setup: - setup:
when: tags: always
- (play_hosts | length) == (groups['all'] | length)
# NOTE(pbourke): This case covers deploying subsets of hosts using --limit. The # 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, # 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 # meaning facts such as IP addresses for rabbitmq nodes etc. will be undefined