indentation
This commit is contained in:
parent
c6eb329c73
commit
8cbfb1a2c6
@ -24,7 +24,7 @@
|
|||||||
-F qcow2 \
|
-F qcow2 \
|
||||||
-f qcow2 \
|
-f qcow2 \
|
||||||
{{ root_vhd_pool_dir }}/{{ vm_name }}_vda.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
|
register: root_vhd_created
|
||||||
|
|
||||||
- name: copy network files to hypervisor host
|
- name: copy network files to hypervisor host
|
||||||
@ -56,19 +56,19 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
qemu-img create -f qcow2 {{ containers_vhd_pool_dir }}/{{ vm_name }}_vdb.qcow2 64G
|
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
|
- name: create nvme data storage vhd
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
qemu-img create -f qcow2 {{ data_nvme_vhd_pool_dir }}/{{ vm_name }}_vdc.qcow2 64G
|
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
|
- name: create hdd data storage vhd
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
qemu-img create -f qcow2 {{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2 4T
|
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
|
- name: define vm
|
||||||
community.libvirt.virt:
|
community.libvirt.virt:
|
||||||
|
Loading…
Reference in New Issue
Block a user