mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-10-23 03:22:03 +02:00
allow for opt_tls_san to be undefined, since it's optionally defined (#456)
Signed-off-by: Jonathan Hanson <jonathan@jonathan-hanson.org>
This commit is contained in:
1 parent
43c2fde96e
commit
7209114690
1 file changed
+1
-1
@@ -27,5 +27,5 @@ ExecStartPre=-/sbin/modprobe br_netfilter
|
|||||||
ExecStartPre=-/sbin/modprobe overlay
|
ExecStartPre=-/sbin/modprobe overlay
|
||||||
ExecStart=/usr/local/bin/k3s server --data-dir {{ k3s_server_location }} {% if cluster_init == true %}--cluster-init {% endif %} \
|
ExecStart=/usr/local/bin/k3s server --data-dir {{ k3s_server_location }} {% if cluster_init == true %}--cluster-init {% endif %} \
|
||||||
{% if join == true %}--server https://{{ api_endpoint }}:{{ api_port }} {% endif %} \
|
{% if join == true %}--server https://{{ api_endpoint }}:{{ api_port }} {% endif %} \
|
||||||
{{ opt_tls_san }} \
|
{{ opt_tls_san | default('') }} \
|
||||||
{{ extra_server_args }}
|
{{ extra_server_args }}
|
||||||
Reference in new issue
Block a user