ansible-role-k3s/templates/config.yaml.j2

9 lines
327 B
Plaintext
Raw Normal View History

2020-10-19 21:26:12 +02:00
---
2020-10-23 17:31:21 +02:00
{% if k3s_etcd_datastore and (k3s_control_node is defined and k3s_control_node) and (k3s_primary_control_node is defined and k3s_primary_control_node) %}
cluster-init: true
{% endif %}
{% if k3s_runtime_config is defined and k3s_runtime_config | length > 0 %}
{{ k3s_runtime_config | to_nice_yaml(indent=2) }}
2020-10-23 17:31:21 +02:00
{% endif %}