virt_instance_create: try python3 here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-10-31 16:34:37 +00:00 committed by Pierre-Yves Chibon
parent b23d6d295b
commit 5424ee4fa2

View file

@ -66,7 +66,7 @@
- name: ARMv7 update the virt parameters
vars:
ansible_python_interpreter: /usr/bin/python2
ansible_python_interpreter: /usr/bin/python3
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 )