mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-09-27 04:03:43 +02:00
Bugfix, bind address is for listener
This commit is contained in:
parent
1f8429a77b
commit
230aaa110c
@ -12,6 +12,9 @@ ExecStartPre=-/sbin/modprobe overlay
|
|||||||
ExecStart={{ k3s_install_dir }}/k3s
|
ExecStart={{ k3s_install_dir }}/k3s
|
||||||
{% if k3s_control_node %}
|
{% if k3s_control_node %}
|
||||||
server{{ ' --disable-agent' if not k3s_control_workers else '' }}
|
server{{ ' --disable-agent' if not k3s_control_workers else '' }}
|
||||||
|
{% if k3s_bind_address is defined %}
|
||||||
|
--bind-address {{ k3s_bind_address }}
|
||||||
|
{% endif %}
|
||||||
{% if k3s_non_root is defined and k3s_non_root %}
|
{% if k3s_non_root is defined and k3s_non_root %}
|
||||||
--rootless
|
--rootless
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -131,9 +134,6 @@ ExecStart={{ k3s_install_dir }}/k3s
|
|||||||
{% if k3s_flannel_interface is defined and not k3s_no_flannel %}
|
{% if k3s_flannel_interface is defined and not k3s_no_flannel %}
|
||||||
--flannel-iface {{ k3s_flannel_interface }}
|
--flannel-iface {{ k3s_flannel_interface }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if k3s_bind_address is defined %}
|
|
||||||
--bind-address {{ k3s_bind_address }}
|
|
||||||
{% endif %}
|
|
||||||
{% if k3s_node_name is defined %}
|
{% if k3s_node_name is defined %}
|
||||||
--node-name {{ k3s_node_name }}
|
--node-name {{ k3s_node_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user