Add debug.
This commit is contained in:
parent
de43ce1b63
commit
1fce7d07f5
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user