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
3aefdb0e
Commit
3aefdb0e
authored
Jun 21, 2012
by
Derek Carter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added global vars to best practice
parent
21381fc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
rst/bestpractices.rst
+3
-1
No files found.
rst/bestpractices.rst
View file @
3aefdb0e
...
...
@@ -19,6 +19,7 @@ Playbooks should be organized like this::
(root of source control repository)
global_vars.yml # variables for all playbooks
acme/ # each playbook has a directory
setup.yml # playbook to manage the service
...
...
@@ -32,7 +33,7 @@ Playbooks should be organized like this::
etc_other_conf_other.conf
vars/
main.yml
main.yml
# variables specific to this playbook
handlers/
main.yml
...
...
@@ -52,6 +53,7 @@ The acme/setup.yml playbook would be as simple as::
user: root
vars_files
- ../global_vars.yml
- vars/main.yml
tasks:
- include: tasks/setup.yml
...
...
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