Revert "armv7 create: move back to python2 and hope it works again."

This reverts commit f2591ca94c98799ce7b52328172dac8c150ca261.
This commit is contained in:
Kevin Fenzi 2019-11-14 18:25:10 +00:00 committed by Pierre-Yves Chibon
parent 0d50e06b94
commit ffc0163b32
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# (c) 2012, Jeroen Hoekx <jeroen@hoekx.be>

View File

@ -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 )