mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
test tower-cli verify_ssl config parameter (#37597)
This commit is contained in:
parent
01b3c14e23
commit
5540a586dc
1 changed files with 17 additions and 0 deletions
|
@ -74,3 +74,20 @@
|
|||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Test tower SSL parameter
|
||||
tower_user:
|
||||
first_name: Joe
|
||||
last_name: User
|
||||
username: joe
|
||||
password: "{{ 65535 | random | to_uuid }}"
|
||||
email: joe@example.org
|
||||
state: present
|
||||
tower_verify_ssl: true
|
||||
tower_host: http://foo.invalid
|
||||
ignore_errors: true
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "'not verify ssl with non-https protocol' in result.exception"
|
||||
|
|
Loading…
Reference in a new issue