virt_instance_create: The emags use python3 here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-10-31 16:07:04 +00:00 committed by Pierre-Yves Chibon
parent 3ba3fde9d7
commit fc5ea0b944

View file

@ -65,8 +65,6 @@
- armv7-kernel
- name: ARMv7 update the virt parameters
vars:
ansible_python_interpreter: /usr/bin/python2
virt_boot: domain={{ inventory_hostname }} kernel=/var/lib/libvirt/images/{{ host_armv7kernel.stdout }} initrd=/var/lib/libvirt/images/{{ host_armv7initrd.stdout }} cmdline={{ host_cmdline.stdout }}
delegate_to: "{{ vmhost }}"
when: inventory_hostname.startswith('buildvm-armv7') and ( inventory_hostname not in result.list_vms or armv7kernelupdate is defined )