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
f247b932
Commit
f247b932
authored
May 09, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the start of a graphviz doc to illustrate variable precedence graphically.
parent
7c3dbd3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
0 deletions
+42
-0
docsite/Makefile
+4
-0
docsite/variables.dot
+38
-0
No files found.
docsite/Makefile
View file @
f247b932
...
@@ -10,6 +10,10 @@ docs: clean modules staticmin
...
@@ -10,6 +10,10 @@ docs: clean modules staticmin
-
(
cp
*
.jpg htmlout/
)
-
(
cp
*
.jpg htmlout/
)
-
(
cp
*
.png htmlout/
)
-
(
cp
*
.png htmlout/
)
variables
:
(
mkdir
-p
htmlout/
)
dot variables.dot
-Tpng
-o
htmlout/variables.png
viewdocs
:
clean staticmin
viewdocs
:
clean staticmin
./build-site.py view
./build-site.py view
...
...
docsite/variables.dot
0 → 100644
View file @
f247b932
digraph
G
{
subgraph
cluster_0
{
"command line variables"
->
"--extra-args"
}
subgraph
cluster_1
{
"role variables"
->
"roles/rolename/vars.yml"
->
"parameters passed to role"
->
"parameters from dependent roles"
}
subgraph
cluster_2
{
"top-level playbook variables"
->
"vars: directives"
->
"vars_files: directives"
;
}
subgraph
cluster_3
{
"inventory variables"
->
"group_vars/all"
->
"group_vars/grandparent1"
->
"group_vars/parent1"
->
"host_vars/myhostname"
;
"group_vars/all"
->
"group_vars/grandparent2"
;
"group_vars/grandparent1"
->
"group_vars/parent2"
"group_vars/grandparent2"
->
"host_vars/myhostname"
;
"group_vars/parent2"
->
"host_vars/myhostname"
}
subgraph
cluster_4
{
"facts"
->
"gathered host facts"
"facts"
->
"host facts from /etc/ansible/facts.d"
"facts"
->
"set_fact"
"facts"
->
"include_vars"
}
subgraph
cluster_5
{
"role defaults"
->
"roles/rolename/defaults.yml"
}
"command line variables"
->
"role variables"
->
"top-level playbook variables"
->
"inventory variables"
->
"role defaults"
->
"facts"
}
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