I have developed a httpapi connection plugin for Ansible and whenever I 
execute a playbook (*ansible-playbook playbook.yml -i hosts*) I run inside 
an extra *ansible-inventory --list* command to read the vars associated to 
the inventory.

Is there any alternative to access the vars for the current host? Or is 
there a way to find during the execution the argv of "ansible-playbook 
playbook.yml -i hosts" to identify where the hosts file is located?


You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to