diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-05-05 19:36:28 +0200 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-05-05 19:36:28 +0200 |
commit | ca822045e2e8ee033d20123baab4f1cfa9df0aad (patch) | |
tree | 0fc9c09c7b9f843428ae40bc3d83ec4203102852 /examples | |
parent | update eucalyptus/ec2 example (diff) | |
download | ansible-ca822045e2e8ee033d20123baab4f1cfa9df0aad.tar.xz ansible-ca822045e2e8ee033d20123baab4f1cfa9df0aad.zip |
Update get_url example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/playbooks/get_url.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/playbooks/get_url.yml b/examples/playbooks/get_url.yml index 4800402095..b1a7dfe690 100644 --- a/examples/playbooks/get_url.yml +++ b/examples/playbooks/get_url.yml @@ -5,12 +5,12 @@ - person: 'Susie%20Smith' tasks: - name: Create directory for jQuery - action: file dest=${jquery_directory} state=directory mode=0755 + action: file dest={{jquery_directory}} state=directory mode=0755 - name: Grab a bunch of jQuery stuff - action: get_url url=http://code.jquery.com/$item dest=${jquery_directory} mode=0444 + action: get_url url=http://code.jquery.com/{{item}} dest={{jquery_directory}} mode=0444 with_items: - jquery.min.js - mobile/latest/jquery.mobile.min.js - ui/jquery-ui-git.css #- name: Pass urlencoded name to CGI - # action: get_url url=http://example.com/name.cgi?name='${person}' dest=/tmp/test + # action: get_url url=http://example.com/name.cgi?name='{{person}}' dest=/tmp/test |