Fix documentation on hostfile vs inventory , follow up of #10130
This commit is contained in:
parent
4fb7c1bff4
commit
d6edbeb4d0
1 changed files with 13 additions and 4 deletions
|
@ -289,10 +289,7 @@ The valid values are either 'replace' (the default) or 'merge'.
|
|||
hostfile
|
||||
========
|
||||
|
||||
This is the default location of the inventory file, script, or directory that Ansible will use to determine what hosts it has available
|
||||
to talk to::
|
||||
|
||||
hostfile = /etc/ansible/hosts
|
||||
This is a deprecated setting since 1.9, please look at :ref:`inventory` for the new setting.
|
||||
|
||||
.. _host_key_checking:
|
||||
|
||||
|
@ -304,6 +301,18 @@ implications and wish to disable it, you may do so here by setting the value to
|
|||
|
||||
host_key_checking=True
|
||||
|
||||
.. _inventory:
|
||||
|
||||
inventory
|
||||
=========
|
||||
|
||||
This is the default location of the inventory file, script, or directory that Ansible will use to determine what hosts it has available
|
||||
to talk to::
|
||||
|
||||
inventory = /etc/ansible/hosts
|
||||
|
||||
It used to be called hostfile in Ansible before 1.9
|
||||
|
||||
.. _jinja2_extensions:
|
||||
|
||||
jinja2_extensions
|
||||
|
|
Loading…
Reference in a new issue