diff --git a/remount.yml b/remount.yml index b22db4f..a3b8fba 100644 --- a/remount.yml +++ b/remount.yml @@ -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)