🛠 Fix descriptions

This commit is contained in:
Dov Benyomin Sohacheski
2024-06-09 13:43:38 +03:00
parent 16fb511d49
commit aa2738ae83
5 changed files with 9 additions and 10 deletions

View File

@@ -1,5 +1,4 @@
---
is_pxe_booted: false
extra_agent_args: ""
group_name_master: master
systemd_dir: /etc/systemd/system

View File

@@ -8,21 +8,26 @@ argument_specs:
required: true
extra_agent_args:
description: Virtual ip-address configured on each master
default: Arguments passed to the systemd service
description: Extra arguments for agents nodes
group_name_master:
description: Name of the master group
default: master
k3s_token:
description: Token used to communicate between masters
proxy_env:
type: dict
description: Internet proxy configurations
default: ~
options:
HTTP_PROXY:
required: true
HTTPS_PROXY:
required: true
NO_PROXY:
required: true
systemd_dir:
description: Path to systemd services

View File

@@ -12,7 +12,7 @@ ExecStart=/usr/local/bin/k3s agent \
--server https://{{ apiserver_endpoint | ansible.utils.ipwrap }}:6443 \
{% if is_pxe_booted | default(false) %}--snapshotter native \
{% endif %}--token {{ hostvars[groups[group_name_master | default('master')][0]]['token'] | default(k3s_token) }} \
{{ extra_agent_args | default("") }}
{{ extra_agent_args }}
KillMode=process
Delegate=yes
LimitNOFILE=1048576

View File

@@ -1,6 +0,0 @@
---
# Indicates whether custom registries for k3s should be configured
# Possible values:
# - present
# - absent
state: present

View File

@@ -17,3 +17,4 @@ argument_specs:
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
those from the mirrors: section.
required: true