1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

added note about inventory_dir new behaviour (#30865)

* added note about inventory_dir new behaviour
This commit is contained in:
Brian Coca 2017-09-27 12:00:06 -04:00 committed by GitHub
parent 4efe305f6f
commit cd5cadfe69

View file

@ -20,6 +20,17 @@ Python version
Ansible will not support Python 2.4 nor 2.5 on the target hosts anymore. Going forward, Python 2.6+ will be required on targets, as already is the case on the controller. Ansible will not support Python 2.4 nor 2.5 on the target hosts anymore. Going forward, Python 2.6+ will be required on targets, as already is the case on the controller.
Inventory
=========
Inventory has been refactored to be implemented via plugins and now allows for multiple sources. This change is mostly transparent to users.
One exception is the ``inventory_dir``, which is now a host variable; previously it could only have one value so it was set globally. This means you cannot use it early in plays anymore to determine ``hosts:`` or similar keywords.
The ``inventory_file`` remains unchaged, as it was always host specific.
Deprecated Deprecated
========== ==========