Hi, 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? Regards, Alex -- 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 https://groups.google.com/d/msgid/ansible-devel/10b976fd-bcb3-4e58-92f1-66748cbbb1a6%40googlegroups.com.