f0cdf71ccb
* Remove contrib/vault This is marked as broken since 2018 /3dcb914607
This still reference apiserver.pem, not used sinceddffdb63bf
Signed-off-by: Etienne Champetier <e.champetier@ateme.com> * Finish nuking vault from the codebase Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
47 lines
970 B
Django/Jinja
47 lines
970 B
Django/Jinja
{% for instance in droplets.results %}
|
|
{{instance.droplet.name}} ansible_ssh_host={{instance.droplet.ip_address}}
|
|
{% endfor %}
|
|
|
|
{% if mode is defined and mode == "separate" %}
|
|
[kube_control_plane]
|
|
{{droplets.results[0].droplet.name}}
|
|
|
|
[kube-node]
|
|
{{droplets.results[1].droplet.name}}
|
|
|
|
[etcd]
|
|
{{droplets.results[2].droplet.name}}
|
|
{% elif mode is defined and mode == "ha" %}
|
|
[kube_control_plane]
|
|
{{droplets.results[0].droplet.name}}
|
|
{{droplets.results[1].droplet.name}}
|
|
|
|
[kube-node]
|
|
{{droplets.results[2].droplet.name}}
|
|
|
|
[etcd]
|
|
{{droplets.results[1].droplet.name}}
|
|
{{droplets.results[2].droplet.name}}
|
|
|
|
[broken_kube_control_plane]
|
|
{{droplets.results[1].droplet.name}}
|
|
|
|
[broken_etcd]
|
|
{{droplets.results[2].droplet.name}}
|
|
{% else %}
|
|
[kube_control_plane]
|
|
{{droplets.results[0].droplet.name}}
|
|
|
|
[kube-node]
|
|
{{droplets.results[1].droplet.name}}
|
|
|
|
[etcd]
|
|
{{droplets.results[0].droplet.name}}
|
|
{% endif %}
|
|
|
|
[calico-rr]
|
|
|
|
[k8s-cluster:children]
|
|
kube-node
|
|
kube_control_plane
|
|
calico-rr
|