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

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