From 921cf653b84d5c065f53e7a2fa5566a3416e48fc Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 12 Aug 2022 13:40:06 -0500 Subject: [PATCH] remount: Do not remount SquashFS volumes SquashFS volumes, naturally, cannot be remounted read-write. --- remount.yml | 3 +++ 1 file changed, 3 insertions(+) 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)