virt_instance_create: Try and use python2 for the virt_boot call since it's python2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
35258909e0
commit
74c4fc2188
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@
|
|||
- name: ARMv7 update the virt parameters
|
||||
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 }}"
|
||||
ansible_python_interpreter: /usr/bin/python2
|
||||
when: inventory_hostname.startswith('buildvm-armv7') and ( inventory_hostname not in result.list_vms or armv7kernelupdate is defined )
|
||||
tags:
|
||||
- armv7-kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue