Skip to content

Commit

Permalink
Start of making docs use {{ format }}
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael DeHaan committed May 5, 2013
1 parent 63b4eea commit 1365f0d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/playbooks/ansible_pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/playbooks/cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
ClusterSize: 3
register: stack
- name: show stack outputs
debug: msg="My stack outputs are ${stack.stack_outputs}"
debug: msg="My stack outputs are {{stack.stack_outputs}}"
5 changes: 0 additions & 5 deletions examples/playbooks/complex_args.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1365f0d

Please sign in to comment.