From 1b9718b51e26f5df2f00d06125a9295866fd6fb0 Mon Sep 17 00:00:00 2001 From: Sai Sindhur Malleni Date: Tue, 5 Nov 2019 14:16:56 -0500 Subject: [PATCH] Use ansible_python.executable isntead of hardcoding python Change-Id: Id264de1fd64b52fc0ca256e8eba9ad975879002e --- ansible/gather/stockpile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/gather/stockpile.yml b/ansible/gather/stockpile.yml index c02e65610..1920eab33 100644 --- a/ansible/gather/stockpile.yml +++ b/ansible/gather/stockpile.yml @@ -31,5 +31,5 @@ - hosts: stockpile tasks: - name: run prescribe - command: python {{ browbeat_path }}/browbeat/prescribe.py {{ browbeat_path }}/metadata + command: '"{{ ansible_python.executable }}" {{ browbeat_path }}/browbeat/prescribe.py {{ browbeat_path }}/metadata'