mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00: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:
@@ -28,7 +28,7 @@
|
||||
path: '/tmp/foo/bar(/.*)?'
|
||||
setype: httpd_sys_content_t
|
||||
state: present
|
||||
reload: no
|
||||
reload: false
|
||||
register: first
|
||||
|
||||
- assert:
|
||||
@@ -41,7 +41,7 @@
|
||||
path: '/tmp/foo/bar(/.*)?'
|
||||
setype: httpd_sys_content_t
|
||||
state: present
|
||||
reload: no
|
||||
reload: false
|
||||
register: second
|
||||
|
||||
- assert:
|
||||
@@ -54,7 +54,7 @@
|
||||
path: '/tmp/foo/bar(/.*)?'
|
||||
setype: unlabeled_t
|
||||
state: present
|
||||
reload: no
|
||||
reload: false
|
||||
register: third
|
||||
|
||||
- assert:
|
||||
@@ -67,7 +67,7 @@
|
||||
path: '/tmp/foo/bar(/.*)?'
|
||||
setype: unlabeled_t
|
||||
state: present
|
||||
reload: no
|
||||
reload: false
|
||||
register: fourth
|
||||
|
||||
- assert:
|
||||
@@ -80,7 +80,7 @@
|
||||
path: '/tmp/foo/bar(/.*)?'
|
||||
setype: httpd_sys_content_t
|
||||
state: absent
|
||||
reload: no
|
||||
reload: false
|
||||
register: fifth
|
||||
|
||||
- assert:
|
||||
@@ -93,7 +93,7 @@
|
||||
path: '/tmp/foo/bar(/.*)?'
|
||||
setype: unlabeled_t
|
||||
state: absent
|
||||
reload: no
|
||||
reload: false
|
||||
register: sixth
|
||||
|
||||
- assert:
|
||||
|
||||
Reference in New Issue
Block a user