mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
ACI: Support validate_certs, use_ssl and use_proxy (#35146)
This PR includes: - validate_certs, use_ssl and use_proxy support for the integration tests
This commit is contained in:
parent
4b8e76747e
commit
2bd0653488
35 changed files with 225 additions and 76 deletions
|
@ -14,7 +14,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: delete
|
||||
delegate_to: localhost
|
||||
|
@ -25,7 +27,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content:
|
||||
|
@ -56,7 +60,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content:
|
||||
|
@ -99,7 +105,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
@ -116,7 +124,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: delete
|
||||
delegate_to: localhost
|
||||
|
@ -25,7 +27,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content: |
|
||||
|
@ -56,7 +60,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content: |
|
||||
|
@ -99,7 +105,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
@ -116,7 +124,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].xml
|
||||
method: delete
|
||||
delegate_to: localhost
|
||||
|
@ -25,7 +27,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].xml
|
||||
method: post
|
||||
content: |
|
||||
|
@ -50,7 +54,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].xml
|
||||
method: post
|
||||
content: |
|
||||
|
@ -86,7 +92,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].xml
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
@ -103,7 +111,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].xml
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: delete
|
||||
delegate_to: localhost
|
||||
|
@ -25,7 +27,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content:
|
||||
|
@ -52,7 +56,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content:
|
||||
|
@ -91,7 +97,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
@ -108,7 +116,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: delete
|
||||
delegate_to: localhost
|
||||
|
@ -25,7 +27,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content: |
|
||||
|
@ -52,7 +56,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: post
|
||||
content: |
|
||||
|
@ -91,7 +97,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
@ -108,7 +116,9 @@
|
|||
hostname: '{{ aci_hostname }}'
|
||||
username: '{{ aci_username }}'
|
||||
password: '{{ aci_password }}'
|
||||
validate_certs: no
|
||||
validate_certs: '{{ aci_validate_certs | default(false) }}'
|
||||
use_ssl: '{{ aci_use_ssl | default(true) }}'
|
||||
use_proxy: '{{ aci_use_proxy | default(true) }}'
|
||||
path: /api/mo/uni/tn-[ansible_test].json
|
||||
method: get
|
||||
delegate_to: localhost
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue