Update structure to include file extensions (#36967)

* Update structure to include file extensions

It is not clear to novice users that the host/group_vars files should be yaml files. This highlights that IMHO a bit more clearer.

* pluralize
pull/40262/head
Ken Celenza 7 years ago committed by ansibot
parent ca4147f2cc
commit ad1a7d90ff

@ -32,11 +32,11 @@ The top level of the directory would contain files and directories like so::
staging # inventory file for staging environment staging # inventory file for staging environment
group_vars/ group_vars/
group1 # here we assign variables to particular groups group1.yml # here we assign variables to particular groups
group2 # "" group2.yml
host_vars/ host_vars/
hostname1 # if systems need specific variables, put them here hostname1.yml # here we assign variables to particular systems
hostname2 # "" hostname2.yml
library/ # if any custom modules, put them here (optional) library/ # if any custom modules, put them here (optional)
module_utils/ # if any custom module_utils to support modules, put them here (optional) module_utils/ # if any custom module_utils to support modules, put them here (optional)
@ -84,20 +84,20 @@ Alternatively you can put each inventory file with its ``group_vars``/``host_var
production/ production/
hosts # inventory file for production servers hosts # inventory file for production servers
group_vars/ group_vars/
group1 # here we assign variables to particular groups group1.yml # here we assign variables to particular groups
group2 # "" group2.yml
host_vars/ host_vars/
hostname1 # if systems need specific variables, put them here hostname1.yml # here we assign variables to particular systems
hostname2 # "" hostname2.yml
staging/ staging/
hosts # inventory file for staging environment hosts # inventory file for staging environment
group_vars/ group_vars/
group1 # here we assign variables to particular groups group1.yml # here we assign variables to particular groups
group2 # "" group2.yml
host_vars/ host_vars/
stagehost1 # if systems need specific variables, put them here stagehost1.yml # here we assign variables to particular systems
stagehost2 # "" stagehost2.yml
library/ library/
module_utils/ module_utils/

Loading…
Cancel
Save