diff --git a/tasks/storage.yml b/tasks/storage.yml index babea82..c8cf22e 100644 --- a/tasks/storage.yml +++ b/tasks/storage.yml @@ -15,6 +15,7 @@ filesystem: fstype: "{{ mongodb_lvm_fstype }}" dev: "/dev/mapper/{{ mongodb_lvm_vg }}-{{ mongodb_lvm_lv }}" + resizefs: True - name: Mount volume to '{{ mongodb_storage_dbpath }}' mount: