From 1fce7d07f5cf946ba6d815b510996425e01c0cc7 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sat, 19 Oct 2024 21:49:05 +0200 Subject: [PATCH] Add debug. --- tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 30c0de4..43af1be 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -40,15 +40,16 @@ OS_REGION_NAME: "{{ OS_REGION_NAME }}" register: volume_output -- debug: var=volume_output -- ansible.builtin.meta: end_host - - name: Create a ext4 filesystem on {{ volume.name }} volume community.general.filesystem: fstype: ext4 dev: "{{ volume_output.attachments[0].device }}" + register: mkfs become: true +- debug: var=mkfs +- ansible.builtin.meta: end_host + - name: mount /mnt/volumes/{{ volume.name }} ansible.posix.mount: path: "/mnt/volumes/{{ volume.name }}"