[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:
patchback[bot] 2023-02-16 06:42:27 +01:00 committed by GitHub
commit ec7f885e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
182 changed files with 770 additions and 770 deletions

View file

@ -14,7 +14,7 @@
path: "{{ filesize_testfile }}"
size: 512.512kB
register: filesize_test_float_01
check_mode: yes
check_mode: true
- name: Stat the file (should not exist)
ansible.builtin.stat:
@ -39,7 +39,7 @@
path: "{{ filesize_testfile }}"
size: 0.512512MB
register: filesize_test_float_03
check_mode: yes
check_mode: true
- name: Create a file with a size of 0.512512MB (idempotency)
community.general.filesize:
@ -95,7 +95,7 @@
path: "{{ filesize_testfile }}"
size: 512.513kB
register: filesize_test_float_11
check_mode: yes
check_mode: true
- name: Stat the file again (should remain the same)
ansible.builtin.stat:
@ -120,7 +120,7 @@
path: "{{ filesize_testfile }}"
size: 0.512513MB
register: filesize_test_float_13
check_mode: yes
check_mode: true
- name: Create a file with a size of 0.512513MB (idempotency)
community.general.filesize:
@ -172,7 +172,7 @@
path: "{{ filesize_testfile }}"
size: 4.004MB
register: filesize_test_float_21
check_mode: yes
check_mode: true
- name: Stat the file again (should remain the same)
ansible.builtin.stat:
@ -197,7 +197,7 @@
path: "{{ filesize_testfile }}"
size: 4.004MB
register: filesize_test_float_23
check_mode: yes
check_mode: true
- name: Create a file with a size of 4.004MB (idempotency)
community.general.filesize: