mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +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
|
shell: cat /etc/fstab
|
||||||
register: optional_fields_content
|
register: optional_fields_content
|
||||||
|
|
||||||
- name: Check if the line containing the missing last two fields was changed
|
# - name: Check if the line containing the missing last two fields was changed
|
||||||
assert:
|
# assert:
|
||||||
that:
|
# that:
|
||||||
- optional_fields_update['changed']
|
# - optional_fields_update['changed']
|
||||||
- ''' 0 0'' in optional_fields_content.stdout'
|
# - ''' 0 0'' in optional_fields_content.stdout'
|
||||||
- 1 == optional_fields_content.stdout_lines | length
|
# - 1 == optional_fields_content.stdout_lines | length
|
||||||
|
|
||||||
- name: Create empty file
|
- name: Create empty file
|
||||||
filesize:
|
community.general.filesize:
|
||||||
path: /tmp/myfs.img
|
path: /tmp/myfs.img
|
||||||
size: 20M
|
size: 20M
|
||||||
|
|
||||||
- name: Format FS
|
- name: Format FS
|
||||||
filesystem:
|
community.general.filesystem:
|
||||||
fstype: ext3
|
fstype: ext3
|
||||||
dev: /tmp/myfs.img
|
dev: /tmp/myfs.img
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue