From 5424ee4fa2668cddb0bb547e1b632ece8f7d9fda Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 31 Oct 2019 16:34:37 +0000 Subject: [PATCH] virt_instance_create: try python3 here. Signed-off-by: Kevin Fenzi --- tasks/virt_instance_create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index dd03a8111f..c65bedef20 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -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 )