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 )