From 0d50e06b94b212ae40376fe231419fad00e27a55 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 14 Nov 2019 16:57:33 +0000 Subject: [PATCH] armv7 create: move back to python2 and hope it works again. Signed-off-by: Kevin Fenzi --- library/virt_boot | 2 +- tasks/virt_instance_create.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/virt_boot b/library/virt_boot index 6280297e14..e066c49874 100755 --- a/library/virt_boot +++ b/library/virt_boot @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2012, Jeroen Hoekx diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index c65bedef20..b5a1ae3662 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -65,8 +65,8 @@ - armv7-kernel - name: ARMv7 update the virt parameters - vars: - ansible_python_interpreter: /usr/bin/python3 +# vars: +# 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 )