15 lines
337 B
YAML
15 lines
337 B
YAML
|
- 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
|
||
|
|