Use ansible_python.executable isntead of hardcoding python
Change-Id: Id264de1fd64b52fc0ca256e8eba9ad975879002e
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user