On 28. okt. 2016 11:15, Stéphane Klein wrote:
I try to refactor my inventory files, how can I test / debug / check my
inventory?

I need something like: ansible-playbook -i staging/ --list-vars

Maybe "ansible -i staging/ -m debug -a var=vars"

In var= you can use vars, hostvars, groups, group_names and environment to get different information.


--
Kai Stian Olstad

--
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/1ea6ccec-88b9-cf13-c2d0-b544d3b81501%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to