mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
2022-05-26-01
This commit is contained in:
parent
4dc6df2cd9
commit
d4605305d1
1 changed files with 7 additions and 7 deletions
|
|
@ -236,13 +236,13 @@
|
|||
shell: cat /etc/fstab
|
||||
register: optional_fields_content
|
||||
|
||||
# - name: Check if the line containing the missing last two fields was changed
|
||||
# assert:
|
||||
# that:
|
||||
# - optional_fields_update['changed']
|
||||
# - ''' 0 0'' in optional_fields_content.stdout'
|
||||
# - 1 == optional_fields_content.stdout_lines | length
|
||||
#
|
||||
- name: Check if the line containing the missing last two fields was changed
|
||||
assert:
|
||||
that:
|
||||
- optional_fields_update['changed']
|
||||
- ''' 0 0'' in optional_fields_content.stdout'
|
||||
- 1 == optional_fields_content.stdout_lines | length
|
||||
|
||||
# - name: Create empty file
|
||||
# community.general.filesize:
|
||||
# path: /tmp/myfs.img
|
||||
|
|
|
|||
Loading…
Reference in a new issue