From 95324c2919d26e68fa1a71a8dc5aa2ec4b356e9c Mon Sep 17 00:00:00 2001 From: Sai Sindhur Malleni Date: Thu, 8 Sep 2016 15:38:41 -0400 Subject: [PATCH] Make checks playbook work in venv Checks playbook now works in a venv Change-Id: I457879101e986dee30db3658e4260e6fe4ff82a2 --- ansible/check/site.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/check/site.yml b/ansible/check/site.yml index 807497196..bc6acac1b 100644 --- a/ansible/check/site.yml +++ b/ansible/check/site.yml @@ -53,6 +53,8 @@ - hosts: localhost gather_facts: False become: false + vars: + ansible_python_interpreter: "/usr/bin/python" name: Generating bug report tasks: - local_action: template src=templates/bug_report.j2 dest={{result_dir}}/bug_report.log