How can I debug my inventory? I need something like: ansible-playbook -i staging/ --list-vars

Hi,

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

Best regards,
Stéphane

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.