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

View File

@ -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