1
0

indentation

This commit is contained in:
michael 2022-10-30 21:26:10 +13:00
parent c6eb329c73
commit 8cbfb1a2c6

View File

@ -24,7 +24,7 @@
-F qcow2 \
-f qcow2 \
{{ root_vhd_pool_dir }}/{{ vm_name }}_vda.qcow2
creates: "{{ root_vhd_pool_dir }}/{{ vm_name }}_vda.qcow2"
creates: "{{ root_vhd_pool_dir }}/{{ vm_name }}_vda.qcow2"
register: root_vhd_created
- name: copy network files to hypervisor host
@ -56,19 +56,19 @@
ansible.builtin.shell:
cmd: |
qemu-img create -f qcow2 {{ containers_vhd_pool_dir }}/{{ vm_name }}_vdb.qcow2 64G
creates: "{{ containers_vhd_pool_dir }}/{{ vm_name }}_vdb.qcow2"
creates: "{{ containers_vhd_pool_dir }}/{{ vm_name }}_vdb.qcow2"
- name: create nvme data storage vhd
ansible.builtin.shell:
cmd: |
qemu-img create -f qcow2 {{ data_nvme_vhd_pool_dir }}/{{ vm_name }}_vdc.qcow2 64G
creates: "{{ data_nvme_vhd_pool_dir }}/{{ vm_name }}_vdc.qcow2"
creates: "{{ data_nvme_vhd_pool_dir }}/{{ vm_name }}_vdc.qcow2"
- name: create hdd data storage vhd
ansible.builtin.shell:
cmd: |
qemu-img create -f qcow2 {{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2 4T
creates: "{{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2"
creates: "{{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2"
- name: define vm
community.libvirt.virt: