mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01: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:
@@ -27,5 +27,5 @@ ExecStartPre=-/sbin/modprobe br_netfilter
|
||||
ExecStartPre=-/sbin/modprobe overlay
|
||||
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 %} \
|
||||
{{ opt_tls_san }} \
|
||||
{{ extra_server_args }}
|
||||
{{ opt_tls_san | default('') }} \
|
||||
{{ extra_server_args }}
|
||||
|
||||
Reference in New Issue
Block a user