mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-12-12 05:50:18 +01:00
Merge branch 'master' into role_v2
This commit is contained in:
commit
36a2f24a9d
1 changed files with 0 additions and 4 deletions
|
@ -56,11 +56,7 @@ ExecStart={{ k3s_install_dir }}/k3s
|
||||||
{% if k3s_private_registry is defined and k3s_private_registry %}
|
{% if k3s_private_registry is defined and k3s_private_registry %}
|
||||||
--private-registry {{ k3s_private_registry }}
|
--private-registry {{ k3s_private_registry }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if k3s_no_coredns is defined or k3s_no_traefik is defined or k3s_no_servicelb is defined %}
|
|
||||||
{% if k3s_no_coredns or k3s_no_traefik or k3s_no_servicelb %}
|
|
||||||
{{ ' --disable coredns' if k3s_no_coredns else '' }}{{ ' --disable servicelb' if k3s_no_servicelb else '' }}{{ ' --disable traefik' if k3s_no_traefik else '' }}{{ ' --disable local-storage' if k3s_no_local_storage else '' }}{{ ' --disable metrics-server' if k3s_no_metrics_server else '' }}
|
{{ ' --disable coredns' if k3s_no_coredns else '' }}{{ ' --disable servicelb' if k3s_no_servicelb else '' }}{{ ' --disable traefik' if k3s_no_traefik else '' }}{{ ' --disable local-storage' if k3s_no_local_storage else '' }}{{ ' --disable metrics-server' if k3s_no_metrics_server else '' }}
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% if not k3s_no_local_storage and k3s_default_local_storage_path is defined and k3s_default_local_storage_path %}
|
{% if not k3s_no_local_storage and k3s_default_local_storage_path is defined and k3s_default_local_storage_path %}
|
||||||
--default-local-storage-path {{ k3s_default_local_storage_path }}
|
--default-local-storage-path {{ k3s_default_local_storage_path }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue