ansible/lib/ansible/inventory
Sloane Hertel c1f1b2029c
Support vars plugins in collections (#61078)
* Move var plugins handling to a separate file

* Allow var plugins to require whitelisting

* Add global configuration ('demand', 'start') for users to control when they execute

* Add 'stage' configuration ('all', 'task', 'inventory') for users to control on a per-plugin basis when they execute

* Update ansible-inventory and InventoryManager to the global and stage configuration

* Update host_group_vars to use stage configuration and whitelisting

* Add documentation for using new options and to the developer's guide

* Add integration tests to exercise whitelisting and the new configuration options, using vars plugins in collections, and maintain backward compatibility

* Changelog

Co-Authored-By: Brian Coca <brian.coca+git@gmail.com>
Co-Authored-By: Sandra McCann <samccann@redhat.com>
2019-11-04 11:41:14 -05:00
..
__init__.py
data.py Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
group.py Stop ignoring merge hash behaviour in inventory (#58460) 2019-07-17 11:16:56 -04:00
helpers.py
host.py Stop ignoring merge hash behaviour in inventory (#58460) 2019-07-17 11:16:56 -04:00
manager.py Support vars plugins in collections (#61078) 2019-11-04 11:41:14 -05:00