I want to develop a lookup plugin that would take a string like "mygroup:!badhost" and return the list of host objects that match that pattern.
Based on my inspection of the Ansible source code, it seems like I could probably do that if I can get reference to an instance of the InventoryManager object. Can i get access to the inventory object from within a lookup plugin?
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/21974bf8-3f68-47cb-9c13-0328c72e7b5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/WKI8ATqzVBI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v_HrQjhh1Q%2BH9wBpsbKugcv0Z%2B0WCv5cqGL9s1h4Fv94g%40mail.gmail.com.