mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 03:32:41 +01:00
🛠 Fix descriptions
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
---
|
||||
is_pxe_booted: false
|
||||
extra_agent_args: ""
|
||||
group_name_master: master
|
||||
systemd_dir: /etc/systemd/system
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
caching the docker/quay/ghcr.io images, you can just remove
|
||||
those from the mirrors: section.
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user