Set python interpreter for HATop download

The HATop download step uses the python in the ansible virtualenv
which does not have proper SELinux python bindings. This patch ensures
that the system python is used.

Conflicts:
>------tests/host_vars/localhost.yml

Closes-Bug: 1738416
Change-Id: I43259dffbe10b2209545de40bd40b21fb785706d
(cherry picked from commit 57991a111e)
This commit is contained in:
Major Hayden 2017-12-15 07:37:28 -06:00 committed by Jesse Pretorius (odyssey4me)
parent 43d4290787
commit 61a5fe0bbb
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@
force: yes
validate_certs: "{{ haproxy_hatop_download_validate_certs }}"
run_once: True
vars:
ansible_python_interpreter: "/usr/bin/python"
- name: Create HATop directory
file: