mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-19 04:21:44 -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 @@
|
|||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue