remount: Do not remount SquashFS volumes
SquashFS volumes, naturally, cannot be remounted read-write.btop
parent
37a205e8a0
commit
921cf653b8
|
@ -11,6 +11,8 @@
|
|||
- /
|
||||
- /usr
|
||||
- /opt
|
||||
no_remount_fstype:
|
||||
- squashfs
|
||||
tasks:
|
||||
- name: remount filesystems
|
||||
command:
|
||||
|
@ -20,6 +22,7 @@
|
|||
{{
|
||||
ansible_mounts
|
||||
| selectattr('mount', 'in', remount_fs)
|
||||
| rejectattr('fstype', 'in', no_remount_fstype)
|
||||
| list
|
||||
}}
|
||||
when: not item.options.startswith(remount_state)
|
||||
|
|
Loading…
Reference in New Issue