From 61a5fe0bbbffb989211324d8f4747582680839ad Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 15 Dec 2017 07:37:28 -0600 Subject: [PATCH] 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 57991a111e9a312ba41b4d8f03193187e12730c4) --- tasks/haproxy_install.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/haproxy_install.yml b/tasks/haproxy_install.yml index 70ca02e..8ab91f5 100644 --- a/tasks/haproxy_install.yml +++ b/tasks/haproxy_install.yml @@ -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: