Skip to content
Snippets Groups Projects
Commit 86465624 authored by Paul Bourke's avatar Paul Bourke
Browse files

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

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

Change-Id: If0d510698d432b536617fcb10b775a1519c6dd8a
parent 9d27e521
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,8 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment