From 1365f0d6ab62418ee3144f9993b70bb5c3c948ea Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sun, 5 May 2013 13:17:15 -0400 Subject: [PATCH] Start of making docs use {{ format }} --- examples/playbooks/ansible_pull.yml | 2 +- examples/playbooks/cloudformation.yaml | 2 +- examples/playbooks/complex_args.yml | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/examples/playbooks/ansible_pull.yml b/examples/playbooks/ansible_pull.yml index 2f8d0ab4bd1..dd25b963e4c 100644 --- a/examples/playbooks/ansible_pull.yml +++ b/examples/playbooks/ansible_pull.yml @@ -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 diff --git a/examples/playbooks/cloudformation.yaml b/examples/playbooks/cloudformation.yaml index 242def3a445..76ab56a9591 100644 --- a/examples/playbooks/cloudformation.yaml +++ b/examples/playbooks/cloudformation.yaml @@ -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}}" diff --git a/examples/playbooks/complex_args.yml b/examples/playbooks/complex_args.yml index 7da02f872e0..03742d0b13c 100644 --- a/examples/playbooks/complex_args.yml +++ b/examples/playbooks/complex_args.yml @@ -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