mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
update with implicit localhost (#33146)
* update with implicit localhost * Minor edit
This commit is contained in:
@@ -31,7 +31,9 @@ This means you can no longer use it early in plays to determine ``hosts:`` or si
|
|||||||
This also changes the behaviour of ``add_hosts`` and the implicit localhost;
|
This also changes the behaviour of ``add_hosts`` and the implicit localhost;
|
||||||
because they no longer automatically inherit the global value, they default to ``None``. See the module documentation for more information.
|
because they no longer automatically inherit the global value, they default to ``None``. See the module documentation for more information.
|
||||||
|
|
||||||
The ``inventory_file`` remains unchanged, as it was always host specific.
|
The ``inventory_file`` remains mostly unchanged, as it was always host specific.
|
||||||
|
|
||||||
|
Since there is no longer a single inventory, the 'implicit localhost' doesn't get either of these variables defined.
|
||||||
|
|
||||||
A bug was fixed with the inventory path/directory, which was defaulting to the current working directory. This caused ``group_vars`` and ``host_vars`` to be picked up from the current working directory instead of just adjacent to the playbook or inventory directory when a host list (comma separated host names) was provided as inventory.
|
A bug was fixed with the inventory path/directory, which was defaulting to the current working directory. This caused ``group_vars`` and ``host_vars`` to be picked up from the current working directory instead of just adjacent to the playbook or inventory directory when a host list (comma separated host names) was provided as inventory.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user