From c8547525037f7864c107cdad0e2c00e6d6edc720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 2 Mar 2023 14:37:27 +0100 Subject: [PATCH] ansible/resize.yml: fix unmounting /mnt volumes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/resize.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/resize.yml b/ansible/resize.yml index 36de3dc..cbe3a63 100644 --- a/ansible/resize.yml +++ b/ansible/resize.yml @@ -16,10 +16,14 @@ command: umount /docker - name: umount /data command: umount /data + - name: umount {{ device_path.stdout }} + command: umount {{ device_path.stdout }} - name: e2fsck {{ device_path.stdout }} command: e2fsck -pf {{ device_path.stdout }} - name: resize2fs {{ device_path.stdout }} command: resize2fs {{ device_path.stdout }} + - name: mount {{ device_path.stdout }} + command: mount {{ device_path.stdout }} - name: mount /data command: mount /data - name: mount /docker