mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-12-05 02:40:19 +01:00
add support for advertise ip, this was needed to advertise using the internal-ip's of my nodes
This commit is contained in:
parent
a8dd9acdb9
commit
04375f5e39
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ ExecStart={{ k3s_install_dir }}/k3s
|
|||
{% if k3s_bind_address is defined %}
|
||||
--bind-address {{ k3s_bind_address }}
|
||||
{% endif %}
|
||||
{% if k3s_advertise_address is defined %}
|
||||
--advertise-address {{ k3s_advertise_address }}
|
||||
{% endif %}
|
||||
{% if k3s_non_root is defined and k3s_non_root %}
|
||||
--rootless
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue