mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-08-04 13:54:45 +00:00
Compare commits
5 Commits
b5a47f27b6
...
bb55710716
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb55710716 | ||
|
|
f392e407f9 | ||
|
|
c77c592fc6 | ||
|
|
02006a1e7f | ||
|
|
1512495dd7 |
@@ -478,13 +478,13 @@
|
|||||||
src: /tmp/myfs.img
|
src: /tmp/myfs.img
|
||||||
fstype: ext3
|
fstype: ext3
|
||||||
state: mounted
|
state: mounted
|
||||||
boot: false
|
boot: no
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user