From ffc0163b3256399be9672536b375ec4325a6ce6b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 14 Nov 2019 18:25:10 +0000 Subject: [PATCH] Revert "armv7 create: move back to python2 and hope it works again." This reverts commit f2591ca94c98799ce7b52328172dac8c150ca261. --- 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 e066c49874..6280297e14 100755 --- a/library/virt_boot +++ b/library/virt_boot @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # (c) 2012, Jeroen Hoekx diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index b5a1ae3662..c65bedef20 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 )