virt_instance_create: ansible_python_interperter should be a var
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
74c4fc2188
commit
df4d17f839
1 changed files with 2 additions and 1 deletions
|
@ -65,9 +65,10 @@
|
|||
- armv7-kernel
|
||||
|
||||
- name: ARMv7 update the virt parameters
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python2
|
||||
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