diff --git a/ansible/roles/vm_deploy/tasks/deploy.yaml b/ansible/roles/vm_deploy/tasks/deploy.yaml index 8a87d6a..aac4e3c 100644 --- a/ansible/roles/vm_deploy/tasks/deploy.yaml +++ b/ansible/roles/vm_deploy/tasks/deploy.yaml @@ -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: