summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/bmra-config/templates/inventory.j2
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/bmra-config/templates/inventory.j2')
-rw-r--r--playbooks/roles/bmra-config/templates/inventory.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/roles/bmra-config/templates/inventory.j2 b/playbooks/roles/bmra-config/templates/inventory.j2
index 28581e0..6008179 100644
--- a/playbooks/roles/bmra-config/templates/inventory.j2
+++ b/playbooks/roles/bmra-config/templates/inventory.j2
@@ -2,7 +2,7 @@
{% for node in nodes %}
{{ idf.kubespray.hostnames[node.name] }} ansible_host={{ node.interfaces[idf.net_config[engine.pxe_network].interface].address }} ip={{ node.interfaces[idf.net_config[engine.pxe_network].interface].address }}
{% endfor %}
-localhost
+localhost ansible_python_interpreter=/usr/bin/python2
{% for role in ['kube-master', 'etcd', 'kube-node'] %}
[{{ role }}]