mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 04:12:48 +00:00
fix hosts.yml filename for inventory
trying to help user understand that directory can be used as -i argument values.
This commit is contained in:
@@ -27,8 +27,8 @@ Directory Layout
|
||||
|
||||
The top level of the directory would contain files and directories like so::
|
||||
|
||||
production # inventory file for production servers
|
||||
staging # inventory file for staging environment
|
||||
production # inventory file for production servers (or directory that contains hosts.yml)
|
||||
staging # inventory file for staging environment (or directory that contains hosts.yml)
|
||||
|
||||
group_vars/
|
||||
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/
|
||||
production/
|
||||
hosts.ini # inventory file for production servers
|
||||
hosts.yml # inventory file for production servers
|
||||
group_vars/
|
||||
group1 # here we assign variables to particular groups
|
||||
group2 # ""
|
||||
@@ -86,7 +86,7 @@ Alternatively you can put each inventory file with its ``group_vars``/``host_var
|
||||
hostname2 # ""
|
||||
|
||||
staging/
|
||||
hosts.ini # inventory file for staging environment
|
||||
hosts.yml # inventory file for staging environment
|
||||
group_vars/
|
||||
group1 # here we assign variables to particular groups
|
||||
group2 # ""
|
||||
|
||||
Reference in New Issue
Block a user