virt-instance-create: try this since the other isn't cached.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-24 23:21:13 +00:00 committed by Pierre-Yves Chibon
parent 6cc64cbff1
commit e18670cf00

View file

@ -5,7 +5,7 @@
- name: get vm list
vars:
ansible_python_interpreter: "{{ hostvars[vmhost]['ansible_python_interpreter'] }}"
ansible_python_interpreter: "{{ hostvars[vmhost]['ansible_python']['executable'] }}"
delegate_to: "{{ vmhost }}"
virt: command=list_vms
register: result