mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
[PR #5996/24efe9ee backport][stable-6] Normalize bools in tests (#5997)
Normalize bools in tests (#5996)
* Normalize bools in tests.
* Fix typo.
(cherry picked from commit 24efe9ee9a
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
4f71c9384e
commit
ec7f885e2f
182 changed files with 770 additions and 770 deletions
|
@ -27,7 +27,7 @@
|
|||
lvg:
|
||||
vg: testvg
|
||||
pvs: "{{ loop_device1 }}"
|
||||
pvresize: no
|
||||
pvresize: false
|
||||
register: cmd_result
|
||||
|
||||
- assert:
|
||||
|
@ -47,8 +47,8 @@
|
|||
lvg:
|
||||
vg: testvg
|
||||
pvs: "{{ loop_device1 }}"
|
||||
pvresize: yes
|
||||
check_mode: yes
|
||||
pvresize: true
|
||||
check_mode: true
|
||||
register: cmd_result
|
||||
|
||||
- name: Assert that the module returned the state was changed
|
||||
|
@ -69,7 +69,7 @@
|
|||
lvg:
|
||||
vg: testvg
|
||||
pvs: "{{ loop_device1 }}"
|
||||
pvresize: yes
|
||||
pvresize: true
|
||||
|
||||
- name: Gets current vg size
|
||||
shell: vgs -v testvg -o pv_size --noheading --units b | xargs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue