Add debug.
This commit is contained in:
parent
de43ce1b63
commit
1fce7d07f5
@ -40,15 +40,16 @@
|
|||||||
OS_REGION_NAME: "{{ OS_REGION_NAME }}"
|
OS_REGION_NAME: "{{ OS_REGION_NAME }}"
|
||||||
register: volume_output
|
register: volume_output
|
||||||
|
|
||||||
- debug: var=volume_output
|
|
||||||
- ansible.builtin.meta: end_host
|
|
||||||
|
|
||||||
- name: Create a ext4 filesystem on {{ volume.name }} volume
|
- name: Create a ext4 filesystem on {{ volume.name }} volume
|
||||||
community.general.filesystem:
|
community.general.filesystem:
|
||||||
fstype: ext4
|
fstype: ext4
|
||||||
dev: "{{ volume_output.attachments[0].device }}"
|
dev: "{{ volume_output.attachments[0].device }}"
|
||||||
|
register: mkfs
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- debug: var=mkfs
|
||||||
|
- ansible.builtin.meta: end_host
|
||||||
|
|
||||||
- name: mount /mnt/volumes/{{ volume.name }}
|
- name: mount /mnt/volumes/{{ volume.name }}
|
||||||
ansible.posix.mount:
|
ansible.posix.mount:
|
||||||
path: "/mnt/volumes/{{ volume.name }}"
|
path: "/mnt/volumes/{{ volume.name }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user