mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-06-27 10:44:43 +02:00
0cd9ffc17f
Signed-off-by: Derek Nola <derek.nola@suse.com>
18 lines
411 B
YAML
18 lines
411 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
|
|
environment:
|
|
INSTALL_K3S_SKIP_START: "true"
|
|
INSTALL_K3S_VERSION: "{{ k3s_version }}"
|
|
changed_when: true
|