Hi,

How does one get access to the inventory from a custom action plugin?

I'm able to do something like this to access host vars: 
task_vars["hostvars"]["my_host"]["ansible_host"] but I need to be able to 
iterate all hosts in the inventory.

Thanks,
James.


-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to