diff --git a/tasks/main.yml b/tasks/main.yml index 43af1be..124cdc9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -44,10 +44,11 @@ community.general.filesystem: fstype: ext4 dev: "{{ volume_output.attachments[0].device }}" - register: mkfs become: true -- debug: var=mkfs +- setup: + register: dfacts +- debug: var=dfacts - ansible.builtin.meta: end_host - name: mount /mnt/volumes/{{ volume.name }}