Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
3f135e3f
Commit
3f135e3f
authored
Sep 22, 2015
by
Jeff Widman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified that .yml, .yaml, and .json are allowable file extensions for inventory variables files.
parent
c83f51b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
docsite/rst/intro_inventory.rst
+3
-2
No files found.
docsite/rst/intro_inventory.rst
View file @
3f135e3f
...
...
@@ -146,7 +146,8 @@ In addition to storing variables directly in the INI file, host
and group variables can be stored in individual files relative to the
inventory file.
These variable files are in YAML format. See :doc:`YAMLSyntax` if you are new to YAML.
These variable files are in YAML format. Valid file extensions include '.yml', '.yaml', '.json',
or no file extension. See :doc:`YAMLSyntax` if you are new to YAML.
Assuming the inventory file path is::
...
...
@@ -155,7 +156,7 @@ Assuming the inventory file path is::
If the host is named 'foosball', and in groups 'raleigh' and 'webservers', variables
in YAML files at the following locations will be made available to the host::
/etc/ansible/group_vars/raleigh
/etc/ansible/group_vars/raleigh
# can optionally end in '.yml', '.yaml', or '.json'
/etc/ansible/group_vars/webservers
/etc/ansible/host_vars/foosball
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment