2 Commits

Author SHA1 Message Date
copyrights
b5a47f27b6 Merge d0bd237e11 into f4baa4c6d8 2024-10-04 04:32:45 +00:00
copyrights
d0bd237e11 mount: remove boot exception if defaults in opts 2024-10-04 13:29:10 +09: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: no
boot: false
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: