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

This reverts commit d366dd7e4a0002a2e170dbbda1107f61807323e5 as it
breaks deploying with --tags

Change-Id: If0d510698d432b536617fcb10b775a1519c6dd8a
This commit is contained in:
Paul Bourke 2017-06-09 13:43:37 +01:00
parent 9d27e52137
commit 8646562435

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