You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ansible-roles/kubernetes/templates/k8s-dqlite/init.yaml.template

8 lines
202 B
Plaintext

{% if inventory_hostname != groups['kubernetes'][0] %}
Cluster:
{% for node in groups['kubernetes'] if node != inventory_hostname %}
- {{ node }}:29001
{% endfor %}
{% endif %}
Address: 0.0.0.0:29001