mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-10-31 08:28:54 +01:00
Fix check for k3s_token_location
This commit is contained in:
parent
818676e449
commit
503e3ccc3f
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user