fix hosts.yml filename for inventory

trying to help user understand that directory can be used as -i argument values.
pull/18134/head
Guillaume Mella 8 years ago committed by GitHub
parent 2804e64ed5
commit 801d6b35da

@ -27,8 +27,8 @@ Directory Layout
The top level of the directory would contain files and directories like so:: The top level of the directory would contain files and directories like so::
production # inventory file for production servers production # inventory file for production servers (or directory that contains hosts.yml)
staging # inventory file for staging environment staging # inventory file for staging environment (or directory that contains hosts.yml)
group_vars/ group_vars/
group1 # here we assign variables to particular groups group1 # here we assign variables to particular groups
@ -77,7 +77,7 @@ Alternatively you can put each inventory file with its ``group_vars``/``host_var
inventories/ inventories/
production/ production/
hosts.ini # inventory file for production servers hosts.yml # inventory file for production servers
group_vars/ group_vars/
group1 # here we assign variables to particular groups group1 # here we assign variables to particular groups
group2 # "" group2 # ""
@ -86,7 +86,7 @@ Alternatively you can put each inventory file with its ``group_vars``/``host_var
hostname2 # "" hostname2 # ""
staging/ staging/
hosts.ini # inventory file for staging environment hosts.yml # inventory file for staging environment
group_vars/ group_vars/
group1 # here we assign variables to particular groups group1 # here we assign variables to particular groups
group2 # "" group2 # ""

Loading…
Cancel
Save