mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-09-20 00:51:32 +02:00
move debug to before server and agent flags
This commit is contained in:
parent
7ea82ed749
commit
36d44bc1af
1 changed files with 3 additions and 3 deletions
|
@ -10,6 +10,9 @@ ExecStartPre=-/sbin/modprobe overlay
|
|||
{% filter regex_replace('\s+', ' ') %}
|
||||
{% filter replace('\n', ' ') %}
|
||||
ExecStart={{ k3s_install_dir }}/k3s
|
||||
{% if k3s_debug is defined and k3s_debug %}
|
||||
--debug
|
||||
{% endif %}
|
||||
{% if k3s_control_node %}
|
||||
server
|
||||
{% if k3s_bind_address is defined %}
|
||||
|
@ -119,9 +122,6 @@ ExecStart={{ k3s_install_dir }}/k3s
|
|||
--server https://{{ k3s_control_node_address }}:{{ k3s_https_port }}
|
||||
--token {{ k3s_control_token }}
|
||||
{% endif %}
|
||||
{% if k3s_debug is defined and k3s_debug %}
|
||||
--debug
|
||||
{% endif %}
|
||||
{% if k3s_resolv_conf is defined and k3s_resolv_conf %}
|
||||
--resolv-conf {{ k3s_resolv_conf }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue