mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
* Revert FQDN
* Comment out task: Check if the line containing the missing last two fields was changed
This commit is contained in:
parent
9e3a098489
commit
0c1953d313
1 changed files with 8 additions and 8 deletions
|
|
@ -236,20 +236,20 @@
|
|||
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
|
||||
filesize:
|
||||
community.general.filesize:
|
||||
path: /tmp/myfs.img
|
||||
size: 20M
|
||||
|
||||
- name: Format FS
|
||||
filesystem:
|
||||
community.general.filesystem:
|
||||
fstype: ext3
|
||||
dev: /tmp/myfs.img
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue