W dniu 24.03.2014 19:31, Kerry Kurian pisze:
re: always gathering facts on all hosts, regardless of tags/limits.
What I’ve been doing is creating a facts.yml file that looks like this:
—
- name: gather facts for api_endpoints
hosts: api_endpoints
- name: gather facts for zookeepers
hosts: zookeepers
… and so on …
Then, as the first directive of every top-level playbook I write this:
- include: facts.yml
Maybe this doesn’t hit all the cases that you need (?) but it’s worked
for me so far. Hope that helps.
When you run ansible-playbook something.yml -l zookeepers, you won't get
facts for the api_endpoints hosts (if they do not overlap).
So unless I'm mistaken, no, this doesn't help me at all.
Best regards,
Grzegorz Nosek
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5331D9F4.4070201%40gmail.com.
For more options, visit https://groups.google.com/d/optout.