Merge "Revert "Avoid facts gathered twice when deploying with --limit""
This commit is contained in:
commit
8e6340ae8a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user