mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
More true/false normalization (#6152)
* More true/false normalization. * Boolean do not need explicit choices. * One more. * Fix type argument.
This commit is contained in:
parent
627371e2d8
commit
11c7611ced
48 changed files with 203 additions and 219 deletions
|
@ -45,7 +45,7 @@
|
|||
|
||||
- name: search created session
|
||||
set_fact:
|
||||
test_session_found: True
|
||||
test_session_found: true
|
||||
loop: "{{ result['sessions'] }}"
|
||||
when: "item.get('ID') == session_id and item.get('Name') == 'testsession'"
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
|||
state: info
|
||||
name: test
|
||||
register: result
|
||||
ignore_errors: True
|
||||
ignore_errors: true
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -81,7 +81,7 @@
|
|||
id: '{{ session_id }}'
|
||||
scheme: non_existent
|
||||
register: result
|
||||
ignore_errors: True
|
||||
ignore_errors: true
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -94,7 +94,7 @@
|
|||
port: 8501
|
||||
scheme: https
|
||||
register: result
|
||||
ignore_errors: True
|
||||
ignore_errors: true
|
||||
|
||||
- name: previous task should fail since certificate is not known
|
||||
assert:
|
||||
|
@ -108,7 +108,7 @@
|
|||
id: '{{ session_id }}'
|
||||
port: 8501
|
||||
scheme: https
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
register: result
|
||||
|
||||
- name: previous task should succeed since certificate isn't checked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue