|
|
@ -143,7 +143,7 @@ options:
|
|
|
|
- This should only set to C(false) used on personally controlled sites using self-signed certificates.
|
|
|
|
- This should only set to C(false) used on personally controlled sites using self-signed certificates.
|
|
|
|
- Prior to 1.9.2 the code defaulted to C(false).
|
|
|
|
- Prior to 1.9.2 the code defaulted to C(false).
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: yes
|
|
|
|
default: true
|
|
|
|
version_added: '1.9.2'
|
|
|
|
version_added: '1.9.2'
|
|
|
|
client_cert:
|
|
|
|
client_cert:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -185,7 +185,7 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- If C(false), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
|
|
|
|
- If C(false), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: yes
|
|
|
|
default: true
|
|
|
|
unix_socket:
|
|
|
|
unix_socket:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Path to Unix domain socket to use for connection
|
|
|
|
- Path to Unix domain socket to use for connection
|
|
|
@ -253,7 +253,7 @@ EXAMPLES = r'''
|
|
|
|
- name: Check that a page returns a status 200 and fail if the word AWESOME is not in the page contents
|
|
|
|
- name: Check that a page returns a status 200 and fail if the word AWESOME is not in the page contents
|
|
|
|
ansible.builtin.uri:
|
|
|
|
ansible.builtin.uri:
|
|
|
|
url: http://www.example.com
|
|
|
|
url: http://www.example.com
|
|
|
|
return_content: yes
|
|
|
|
return_content: true
|
|
|
|
register: this
|
|
|
|
register: this
|
|
|
|
failed_when: "'AWESOME' not in this.content"
|
|
|
|
failed_when: "'AWESOME' not in this.content"
|
|
|
|
|
|
|
|
|
|
|
@ -264,7 +264,7 @@ EXAMPLES = r'''
|
|
|
|
password: your_pass
|
|
|
|
password: your_pass
|
|
|
|
method: POST
|
|
|
|
method: POST
|
|
|
|
body: "{{ lookup('ansible.builtin.file','issue.json') }}"
|
|
|
|
body: "{{ lookup('ansible.builtin.file','issue.json') }}"
|
|
|
|
force_basic_auth: yes
|
|
|
|
force_basic_auth: true
|
|
|
|
status_code: 201
|
|
|
|
status_code: 201
|
|
|
|
body_format: json
|
|
|
|
body_format: json
|
|
|
|
|
|
|
|
|
|
|
@ -311,7 +311,7 @@ EXAMPLES = r'''
|
|
|
|
ansible.builtin.uri:
|
|
|
|
ansible.builtin.uri:
|
|
|
|
url: https://your.form.based.auth.example.com/dashboard.php
|
|
|
|
url: https://your.form.based.auth.example.com/dashboard.php
|
|
|
|
method: GET
|
|
|
|
method: GET
|
|
|
|
return_content: yes
|
|
|
|
return_content: true
|
|
|
|
headers:
|
|
|
|
headers:
|
|
|
|
Cookie: "{{ login.cookies_string }}"
|
|
|
|
Cookie: "{{ login.cookies_string }}"
|
|
|
|
|
|
|
|
|
|
|
@ -321,7 +321,7 @@ EXAMPLES = r'''
|
|
|
|
user: "{{ jenkins.user }}"
|
|
|
|
user: "{{ jenkins.user }}"
|
|
|
|
password: "{{ jenkins.password }}"
|
|
|
|
password: "{{ jenkins.password }}"
|
|
|
|
method: GET
|
|
|
|
method: GET
|
|
|
|
force_basic_auth: yes
|
|
|
|
force_basic_auth: true
|
|
|
|
status_code: 201
|
|
|
|
status_code: 201
|
|
|
|
|
|
|
|
|
|
|
|
- name: POST from contents of local file
|
|
|
|
- name: POST from contents of local file
|
|
|
@ -335,7 +335,7 @@ EXAMPLES = r'''
|
|
|
|
url: https://httpbin.org/post
|
|
|
|
url: https://httpbin.org/post
|
|
|
|
method: POST
|
|
|
|
method: POST
|
|
|
|
src: /path/to/my/file.json
|
|
|
|
src: /path/to/my/file.json
|
|
|
|
remote_src: yes
|
|
|
|
remote_src: true
|
|
|
|
|
|
|
|
|
|
|
|
- name: Create workspaces in Log analytics Azure
|
|
|
|
- name: Create workspaces in Log analytics Azure
|
|
|
|
ansible.builtin.uri:
|
|
|
|
ansible.builtin.uri:
|
|
|
|