Do not use become for localhost and jumphost in inventory
It is unclear why we need to use become=true for localhost
and jumphost for bifrost based deployments so this change
is an attempt to remove that so privilege escalation is done
within playbooks.
Change-Id: Icc80dc57c9eec7a6a2926fe27f2d1c59864971b2
diff --git a/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2 b/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2
index ff8eabf..2417852 100644
--- a/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2
+++ b/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2
@@ -15,10 +15,10 @@
{% endfor %}
[localhost]
-127.0.0.1 ansible_connection=local become=true ansible_python_interpreter={{ engine_venv }}/bin/python
+127.0.0.1 ansible_connection=local ansible_python_interpreter={{ engine_venv }}/bin/python
[jumphost]
-jumphost ansible_host=127.0.0.1 ansible_connection=local become=true ansible_python_interpreter={{ engine_venv }}/bin/python
+jumphost ansible_host=127.0.0.1 ansible_connection=local ansible_python_interpreter={{ engine_venv }}/bin/python
[kube-master]
{% for node in nodes %}