update with implicit localhost (#33146)

* update with implicit localhost

* Minor edit
This commit is contained in:
Brian Coca 2017-11-22 17:48:40 -05:00 committed by scottb
parent b865ddedac
commit be00d93eb4

View file

@ -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;
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.