mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 11:42:37 +01:00
🛠 Fix descriptions
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
is_pxe_booted: false
|
|
||||||
extra_agent_args: ""
|
extra_agent_args: ""
|
||||||
group_name_master: master
|
group_name_master: master
|
||||||
systemd_dir: /etc/systemd/system
|
systemd_dir: /etc/systemd/system
|
||||||
|
|||||||
@@ -8,21 +8,26 @@ argument_specs:
|
|||||||
required: true
|
required: true
|
||||||
|
|
||||||
extra_agent_args:
|
extra_agent_args:
|
||||||
description: Virtual ip-address configured on each master
|
description: Extra arguments for agents nodes
|
||||||
default: Arguments passed to the systemd service
|
|
||||||
|
|
||||||
group_name_master:
|
group_name_master:
|
||||||
description: Name of the master group
|
description: Name of the master group
|
||||||
default: master
|
default: master
|
||||||
|
|
||||||
|
k3s_token:
|
||||||
|
description: Token used to communicate between masters
|
||||||
|
|
||||||
proxy_env:
|
proxy_env:
|
||||||
type: dict
|
type: dict
|
||||||
description: Internet proxy configurations
|
description: Internet proxy configurations
|
||||||
default: ~
|
default: ~
|
||||||
options:
|
options:
|
||||||
HTTP_PROXY:
|
HTTP_PROXY:
|
||||||
|
required: true
|
||||||
HTTPS_PROXY:
|
HTTPS_PROXY:
|
||||||
|
required: true
|
||||||
NO_PROXY:
|
NO_PROXY:
|
||||||
|
required: true
|
||||||
|
|
||||||
systemd_dir:
|
systemd_dir:
|
||||||
description: Path to systemd services
|
description: Path to systemd services
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ ExecStart=/usr/local/bin/k3s agent \
|
|||||||
--server https://{{ apiserver_endpoint | ansible.utils.ipwrap }}:6443 \
|
--server https://{{ apiserver_endpoint | ansible.utils.ipwrap }}:6443 \
|
||||||
{% if is_pxe_booted | default(false) %}--snapshotter native \
|
{% if is_pxe_booted | default(false) %}--snapshotter native \
|
||||||
{% endif %}--token {{ hostvars[groups[group_name_master | default('master')][0]]['token'] | default(k3s_token) }} \
|
{% endif %}--token {{ hostvars[groups[group_name_master | default('master')][0]]['token'] | default(k3s_token) }} \
|
||||||
{{ extra_agent_args | default("") }}
|
{{ extra_agent_args }}
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
LimitNOFILE=1048576
|
LimitNOFILE=1048576
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
# Indicates whether custom registries for k3s should be configured
|
|
||||||
# Possible values:
|
|
||||||
# - present
|
|
||||||
# - absent
|
|
||||||
state: present
|
|
||||||
@@ -17,3 +17,4 @@ argument_specs:
|
|||||||
If all you need is your own images and you don't care about
|
If all you need is your own images and you don't care about
|
||||||
caching the docker/quay/ghcr.io images, you can just remove
|
caching the docker/quay/ghcr.io images, you can just remove
|
||||||
those from the mirrors: section.
|
those from the mirrors: section.
|
||||||
|
required: true
|
||||||
|
|||||||
Reference in New Issue
Block a user