ansible/resize.yml: fix unmounting /mnt volumes

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-03-02 14:37:27 +01:00
parent 1564924b32
commit c854752503
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 4 additions and 0 deletions

View File

@ -16,10 +16,14 @@
command: umount /docker command: umount /docker
- name: umount /data - name: umount /data
command: umount /data command: umount /data
- name: umount {{ device_path.stdout }}
command: umount {{ device_path.stdout }}
- name: e2fsck {{ device_path.stdout }} - name: e2fsck {{ device_path.stdout }}
command: e2fsck -pf {{ device_path.stdout }} command: e2fsck -pf {{ device_path.stdout }}
- name: resize2fs {{ device_path.stdout }} - name: resize2fs {{ device_path.stdout }}
command: resize2fs {{ device_path.stdout }} command: resize2fs {{ device_path.stdout }}
- name: mount {{ device_path.stdout }}
command: mount {{ device_path.stdout }}
- name: mount /data - name: mount /data
command: mount /data command: mount /data
- name: mount /docker - name: mount /docker