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 %}
--config {{ k3s_config_file }}
{% endif %}
{% if k3s_control_node and not k3s_primary_control_node %}
{% if k3s_token_location %}
--token-file {{ k3s_token_location }}
{% endif %}
{% else %}