mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Enforce use of a defined token. Simplifies additional server and agent joining process.
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -14,12 +14,12 @@ k3s_cluster:
|
||||
ansible_port: 22
|
||||
ansible_user: debian
|
||||
k3s_version: v1.25.5+k3s2
|
||||
token: "mytoken" # Use ansible vault if you want to keep it secret
|
||||
api_endpoint: "{{ hostvars[groups['server'][0]]['ansible_host'] | default(groups['server'][0]) }}"
|
||||
api_port: 6443
|
||||
extra_server_args: ""
|
||||
extra_server_init_args: ""
|
||||
extra_agent_args: ""
|
||||
|
||||
# Optional vars
|
||||
# api_port: 6443
|
||||
# k3s_server_location: /var/lib/rancher/k3s
|
||||
# systemd_dir: /etc/systemd/system
|
||||
|
||||
Reference in New Issue
Block a user