mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-31 00:51:23 -07:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
parent
4c4ef80ca9
commit
24efe9ee9a
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