summaryrefslogtreecommitdiffstats
path: root/playbooks/roles
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles')
-rw-r--r--playbooks/roles/bmra-config/templates/inventory.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/roles/bmra-config/templates/inventory.j2 b/playbooks/roles/bmra-config/templates/inventory.j2
index 48e953c..28581e0 100644
--- a/playbooks/roles/bmra-config/templates/inventory.j2
+++ b/playbooks/roles/bmra-config/templates/inventory.j2
@@ -19,5 +19,7 @@ kube-node
[calico-rr]
+{% if deployment_type == 'k8s' %}
[all:vars]
ansible_python_interpreter=/usr/bin/python3
+{% endif %}