From f6a8f5b8406a3ab04fc97dfd40054b566fa6df8d Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 20 Aug 2019 13:52:14 +0200 Subject: [PATCH] OpenShift: allow to specify the ansible python interpreter in the cluster inventory Signed-off-by: Clement Verna --- .../templates/cluster-inventory-stg.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 index fad2c687a3..0e9ea52bee 100644 --- a/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 +++ b/roles/ansible-ansible-openshift-ansible/templates/cluster-inventory-stg.j2 @@ -83,6 +83,10 @@ openshift_master_cluster_public_hostname={{openshift_cluster_url}} openshift_master_default_subdomain={{openshift_app_subdomain}} {% endif %} +{% if openshift_ansible_python_interpreter is defined %} +ansible_python_interpreter={{openshift_ansible_python_interpreter}} +{% endif %} + ############################################################################### # Additional configuration variables follow # ###############################################################################