diff --git a/roles/common/tasks/repartition.yml b/roles/common/tasks/repartition.yml index bba59b6..b6489f2 100644 --- a/roles/common/tasks/repartition.yml +++ b/roles/common/tasks/repartition.yml @@ -36,6 +36,7 @@ register: parted_resize - name: Resize filesystem on /dev/sda1 to fill the available space on the partition - command: resize2fs /dev/sda1 - become: yes - register: resize2fs + filesystem: + dev: /dev/sda1 + fstype: ext4 + resizefs: true