Start of making docs use {{ format }}

pull/2842/merge
Michael DeHaan 11 years ago
parent 63b4eea90b
commit 1365f0d6ab

@ -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

@ -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}}"

@ -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

Loading…
Cancel
Save