[PR #6152/11c7611c backport][stable-6] More true/false normalization (#6153)

More true/false normalization (#6152)

* More true/false normalization.

* Boolean do not need explicit choices.

* One more.

* Fix type argument.

(cherry picked from commit 11c7611ced)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-03-07 07:10:10 +01:00 committed by GitHub
commit 47514e1401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 203 additions and 219 deletions

View file

@ -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