mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Move k3s_server_location to inventory vars
- All environemt variables are now in one place - Add --data-dir option to agent and init service Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
committed by
Derek Nola
parent
5b3e2a5db6
commit
cd725780f5
@@ -13,6 +13,7 @@ k3s_cluster:
|
||||
ansible_port: 22
|
||||
ansible_user: debian
|
||||
k3s_version: v1.25.5+k3s2
|
||||
k3s_server_location: /var/lib/rancher/k3s
|
||||
systemd_dir: /etc/systemd/system
|
||||
api_endpoint: "{{ hostvars[groups['server'][0]]['ansible_host'] | default(groups['server'][0]) }}"
|
||||
api_port: 6443
|
||||
|
||||
Reference in New Issue
Block a user