Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
ca822045
Commit
ca822045
authored
May 05, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update get_url example
parent
b5339fe3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
examples/playbooks/get_url.yml
+3
-3
No files found.
examples/playbooks/get_url.yml
View file @
ca822045
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment