File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
environments/common/layouts Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ k3s_version : " v1.31.0+k3s1"
Original file line number Diff line number Diff line change 13
13
ansible.builtin.shell :
14
14
cmd : /usr/bin/k3s-install.sh
15
15
environment :
16
- INSTALL_K3S_VERSION : " v1.31.0+k3s1 "
16
+ INSTALL_K3S_VERSION : " {{ k3s_version }} "
17
17
INSTALL_K3S_EXEC : " {{ item }}"
18
18
INSTALL_K3S_SKIP_START : " true"
19
19
INSTALL_K3S_SKIP_ENABLE : " true"
20
20
INSTALL_K3S_BIN_DIR : " /usr/bin"
21
21
changed_when : true
22
- with_items :
22
+ loop :
23
23
- server
24
24
- agent
25
25
37
37
ansible.builtin.include_role :
38
38
name : k9s
39
39
40
- - name : Install k3s server ansible-init playbook
40
+ - name : Install ansible-init playbook for k3s agent or server activation
41
41
copy :
42
42
src : start_k3s.yml
43
43
dest : /etc/ansible-init/playbooks/0-start-k3s.yml
Original file line number Diff line number Diff line change @@ -85,4 +85,4 @@ cluster
85
85
86
86
[k3s:children]
87
87
# Hosts to run k3s server/agent
88
- cluster
88
+ openhpc
You can’t perform that action at this time.
0 commit comments