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
1365f0d6
Commit
1365f0d6
authored
May 05, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start of making docs use {{ format }}
parent
63b4eea9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
examples/playbooks/ansible_pull.yml
+1
-1
examples/playbooks/cloudformation.yaml
+1
-2
examples/playbooks/complex_args.yml
+0
-5
No files found.
examples/playbooks/ansible_pull.yml
View file @
1365f0d6
...
...
@@ -43,7 +43,7 @@
action
:
yum pkg=ansible state=installed
-
name
:
Create local directory to work from
action
:
file path=
$workdir
state=directory owner=root group=root mode=0751
action
:
file path=
{{workdir}}
state=directory owner=root group=root mode=0751
-
name
:
Copy ansible inventory file to client
action
:
copy src=/etc/ansible/hosts dest=/etc/ansible/hosts
...
...
examples/playbooks/cloudformation.yaml
View file @
1365f0d6
...
...
@@ -42,4 +42,4 @@
ClusterSize
:
3
register
:
stack
-
name
:
show stack outputs
debug
:
msg="My stack outputs are ${stack.stack_outputs}"
\ No newline at end of file
debug
:
msg="My stack outputs are {{stack.stack_outputs}}"
examples/playbooks/complex_args.yml
View file @
1365f0d6
...
...
@@ -42,11 +42,6 @@
action
:
ping
args
:
{
data
:
$complex
}
-
name
:
or if you prefer... this is equivalent
action
:
ping
args
:
data
:
$complex
-
name
:
here is an example of how it works with defaults, notice the key=value format wins
action
:
service name=httpd state=running
args
:
$defaults
...
...
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