simplifying the cluster setup
This commit is contained in:
14
lab/tasks/install-k3s.yml
Normal file
14
lab/tasks/install-k3s.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Download K3s install script
|
||||
ansible.builtin.get_url:
|
||||
url: https://get.k3s.io/
|
||||
timeout: 120
|
||||
dest: /usr/local/bin/k3s-install.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: Download K3s binary
|
||||
ansible.builtin.command:
|
||||
cmd: /usr/local/bin/k3s-install.sh
|
||||
changed_when: true
|
||||
|
||||
0
lab/tasks/setup-docker-compose.yml
Normal file
0
lab/tasks/setup-docker-compose.yml
Normal file
Reference in New Issue
Block a user