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:
parent
4efe305f6f
commit
cd5cadfe69
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue