* feat: update jinja delimiters back to default Signed-off-by: Devin Buhl <devin@buhl.casa> * feat: remove cert-manager promrules Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update talos csr approver Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
24 lines
688 B
YAML
24 lines
688 B
YAML
---
|
|
kubernetes:
|
|
children:
|
|
master:
|
|
hosts:
|
|
{% for item in cluster.nodes.inventory %}
|
|
{% if item.controller %}
|
|
"{{ item.name }}":
|
|
ansible_user: "{{ item.ssh_username }}"
|
|
ansible_host: "{{ item.address }}"
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% if cluster.nodes.inventory | selectattr('controller', 'equalto', False) | list | length %}
|
|
worker:
|
|
hosts:
|
|
{% for item in cluster.nodes.inventory %}
|
|
{% if not item.controller %}
|
|
"{{ item.name }}":
|
|
ansible_user: "{{ item.ssh_username }}"
|
|
ansible_host: "{{ item.address }}"
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|