Commit e971b60f by Brian Coca

updated docs about ansible_hosts/inventory env vars

parent 93be064a
...@@ -143,7 +143,11 @@ other than /etc/ansible/hosts: ...@@ -143,7 +143,11 @@ other than /etc/ansible/hosts:
.. code-block:: bash .. code-block:: bash
$ echo "127.0.0.1" > ~/ansible_hosts $ echo "127.0.0.1" > ~/ansible_hosts
$ export ANSIBLE_HOSTS=~/ansible_hosts $ export ANSIBLE_INVENTORY=~/ansible_hosts
.. note::
ANSIBLE_INVENTORY is available starting at 1.9 and subtitutes the deprecated ANSIBLE_HOSTS
You can read more about the inventory file in later parts of the manual. You can read more about the inventory file in later parts of the manual.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment