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
86ddbb22
Commit
86ddbb22
authored
Jul 19, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trim old style var references
parent
303a8ff5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
library/network/uri
+3
-3
No files found.
library/network/uri
View file @
86ddbb22
...
...
@@ -135,14 +135,14 @@ EXAMPLES = '''
register: webpage
- action: fail
when
_string: '"AWESOME" not in "${webpage.content}"'
when
: 'AWESOME' not in "{{ webpage.content }}"
# Create a JIRA issue.
- action: >
uri url=https://your.jira.example.com/rest/api/2/issue/
method=POST user=your_username password=your_pass
body=
'$FILE(issue.json)'
force_basic_auth=yes
body=
"{{ lookup('file','issue.json') }}"
force_basic_auth=yes
status_code=201 HEADER_Content-Type="application/json"
- action: >
...
...
@@ -154,7 +154,7 @@ EXAMPLES = '''
# Login to a form based webpage, then use the returned cookie to
# access the app in later tasks.
- action: uri url=https://your.form.based.auth.example.com/dashboard.php
method=GET return_content=yes HEADER_Cookie="
${login.set_cookie
}"
method=GET return_content=yes HEADER_Cookie="
{{login.set_cookie}
}"
'''
HAS_HTTPLIB2
=
True
...
...
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