mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
* Generate token If a token is not explicitly provided, let the first server generate a random one. Such a token is saved on the first server and the playbook can retrieve it from there and store it a a fact. All other servers and agents can use that token later to join the cluster. It will be saved into their environment file as usual. Signed-off-by: Marko Vukovic <8951449+anon-software@users.noreply.github.com> * Document that token is (mostly) optional now The token is still required when using Vagrant. Signed-off-by: Marko Vukovic <8951449+anon-software@users.noreply.github.com>
6 lines
259 B
YAML
6 lines
259 B
YAML
---
|
|
server_group: server # noqa var-naming[no-role-prefix]
|
|
k3s_server_location: "/var/lib/rancher/k3s" # noqa var-naming[no-role-prefix]
|
|
systemd_dir: "/etc/systemd/system" # noqa var-naming[no-role-prefix]
|
|
api_port: 6443 # noqa var-naming[no-role-prefix]
|