mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-06 14:14: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
|
@ -14,7 +14,7 @@
|
|||
mas:
|
||||
id: 421879749
|
||||
state: absent
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
- name: Determine whether the app is installed
|
||||
stat:
|
||||
|
@ -36,7 +36,7 @@
|
|||
id: 421879749
|
||||
state: present
|
||||
register: install_check
|
||||
check_mode: yes
|
||||
check_mode: true
|
||||
|
||||
- name: Ensure that the status would have changed
|
||||
assert:
|
||||
|
@ -98,8 +98,8 @@
|
|||
id: 421879749
|
||||
state: absent
|
||||
register: uninstall_check
|
||||
become: yes
|
||||
check_mode: yes
|
||||
become: true
|
||||
check_mode: true
|
||||
|
||||
- name: Ensure that the status would have changed
|
||||
assert:
|
||||
|
@ -122,7 +122,7 @@
|
|||
id: 421879749
|
||||
state: absent
|
||||
register: uninstall
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
- name: Ensure that the status changed
|
||||
assert:
|
||||
|
@ -149,7 +149,7 @@
|
|||
id: 421879749
|
||||
state: absent
|
||||
register: uninstall_again
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
- name: Ensure that the status is unchanged (already uninstalled)
|
||||
assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue