Revert "Lets try not dropping ansible_python from cache"

This reverts commit d7735d5eb7.
This commit is contained in:
Kevin Fenzi 2020-06-07 10:19:09 -07:00
parent 93bbfb0936
commit e535322b1f
2 changed files with 73 additions and 0 deletions

View file

@ -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