5 Commits

Author SHA1 Message Date
copyrights
bb55710716 Merge f392e407f9 into f4baa4c6d8 2024-10-03 10:35:32 +09:00
Adam Miller
f392e407f9 Merge branch 'main' into last_wins 2024-01-10 08:41:00 -06:00
copyrights
c77c592fc6 add changelog fragment 2022-05-24 07:10:54 +02:00
copyrights
02006a1e7f add mount boot test 2022-05-23 22:52:38 +02:00
copyrights
1512495dd7 mount: remove boot exception if defaults in opts 2022-05-23 22:21:11 +02:00

View File

@@ -471,20 +471,20 @@
ansible.posix.mount:
path: /tmp/myfs
state: absent
- name: Mount the FS with noauto option and defaults
ansible.posix.mount:
path: /tmp/myfs
src: /tmp/myfs.img
fstype: ext3
state: mounted
boot: false
boot: no
register: mount_info
- name: assert the mount without noauto was successful
- name: Assert the mount without noauto was successful
ansible.builtin.assert:
that:
- "'noauto' in mount_info['opts'].split(',')"
- "'noauto' in mount_info['opts'].split(',')"
- name: Unmount FS
ansible.posix.mount: