Fix check for k3s_token_location

This commit is contained in:
Niklas Weimann 2022-05-16 11:28:24 +02:00
parent 818676e449
commit 503e3ccc3f

View File

@ -42,7 +42,7 @@ ExecStart={{ k3s_install_dir }}/k3s
{% if k3s_server is defined %} {% if k3s_server is defined %}
--config {{ k3s_config_file }} --config {{ k3s_config_file }}
{% endif %} {% endif %}
{% if k3s_control_node and not k3s_primary_control_node %} {% if k3s_token_location %}
--token-file {{ k3s_token_location }} --token-file {{ k3s_token_location }}
{% endif %} {% endif %}
{% else %} {% else %}