virt-instance-create: this is a var
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
95e0ad16d9
commit
e398046ebb
1 changed files with 2 additions and 1 deletions
|
@ -4,11 +4,12 @@
|
||||||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
||||||
|
|
||||||
- name: get vm list
|
- name: get vm list
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: hostvars[vmhost]['ansible_python_interpreter']
|
||||||
delegate_to: "{{ vmhost }}"
|
delegate_to: "{{ vmhost }}"
|
||||||
virt: command=list_vms
|
virt: command=list_vms
|
||||||
register: result
|
register: result
|
||||||
check_mode: no
|
check_mode: no
|
||||||
ansible_python_interpreter: hostvars[vmhost]['ansible_python_interpreter']
|
|
||||||
|
|
||||||
#- name: ensure no old facts exist
|
#- name: ensure no old facts exist
|
||||||
# delegate_to: localhost
|
# delegate_to: localhost
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue