Revert "Lets try not dropping ansible_python from cache"
This reverts commit d7735d5eb7
.
This commit is contained in:
parent
93bbfb0936
commit
e535322b1f
2 changed files with 73 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
||||
|
||||
- name: get vm list
|
||||
vars:
|
||||
ansible_python_interpreter: "{{ hostvars[vmhost]['ansible_python']['executable'] }}"
|
||||
delegate_to: "{{ vmhost }}"
|
||||
virt: command=list_vms
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue