mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-06-29 11:04:42 +02:00
12 lines
267 B
Django/Jinja
12 lines
267 B
Django/Jinja
---
|
|
|
|
{% if k3s_control_node %}
|
|
{% if k3s_server is defined and k3s_server != None %}
|
|
{{ k3s_server | to_nice_yaml(indent=2) }}
|
|
{% endif %}
|
|
{% else %}
|
|
{% if k3s_agent is defined and k3s_agent != None %}
|
|
{{ k3s_agent | to_nice_yaml(indent=2) }}
|
|
{% endif %}
|
|
{% endif %}
|