mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Update get_url example
This commit is contained in:
@@ -5,12 +5,12 @@
|
|||||||
- person: 'Susie%20Smith'
|
- person: 'Susie%20Smith'
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create directory for jQuery
|
- 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
|
- 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:
|
with_items:
|
||||||
- jquery.min.js
|
- jquery.min.js
|
||||||
- mobile/latest/jquery.mobile.min.js
|
- mobile/latest/jquery.mobile.min.js
|
||||||
- ui/jquery-ui-git.css
|
- ui/jquery-ui-git.css
|
||||||
#- name: Pass urlencoded name to CGI
|
#- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user