mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
parent
4c4ef80ca9
commit
24efe9ee9a
182 changed files with 770 additions and 770 deletions
|
@ -16,7 +16,7 @@
|
|||
type: string
|
||||
state: present
|
||||
register: missing_value
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: Test if state and value are required together
|
||||
assert:
|
||||
|
@ -31,7 +31,7 @@
|
|||
value: Centimeter
|
||||
state: present
|
||||
register: measure_task_check_mode
|
||||
check_mode: yes
|
||||
check_mode: true
|
||||
|
||||
- name: Test if AppleMeasurementUnits value is changed to Centimeters in check_mode
|
||||
assert:
|
||||
|
@ -163,7 +163,7 @@
|
|||
key: ExampleKeyToRemove
|
||||
state: absent
|
||||
register: absent_check_mode_task
|
||||
check_mode: yes
|
||||
check_mode: true
|
||||
|
||||
- debug:
|
||||
msg: "{{ absent_check_mode_task }}"
|
||||
|
@ -225,7 +225,7 @@
|
|||
value:
|
||||
- 'Value with spaces'
|
||||
type: array
|
||||
array_add: yes
|
||||
array_add: true
|
||||
register: test_array_add
|
||||
|
||||
- assert:
|
||||
|
@ -238,7 +238,7 @@
|
|||
value:
|
||||
- 'Value with spaces'
|
||||
type: array
|
||||
array_add: yes
|
||||
array_add: true
|
||||
register: test_array_add
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue