virt-instance-create: The variable should be a variable too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
e398046ebb
commit
6cc64cbff1
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
- name: get vm list
|
||||
vars:
|
||||
ansible_python_interpreter: hostvars[vmhost]['ansible_python_interpreter']
|
||||
ansible_python_interpreter: "{{ hostvars[vmhost]['ansible_python_interpreter'] }}"
|
||||
delegate_to: "{{ vmhost }}"
|
||||
virt: command=list_vms
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue