infra/ansible/roles/k3s/tasks/main.yaml
shockrah 5b4a440cb4
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 3s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 15s
Removing the last remnants of nomad and getting k3s setup
2025-07-10 20:47:27 -07:00

11 lines
295 B
YAML

- name: Download the installation script
ansible.builtin.get_url:
url: https://get.k3s.io
dest: /tmp
register: install_script
- name: Run installation script
become: true
environment:
INSTALL_K3S_EXEC: server
ansible.builtin.command:
cmd: sh {{ install_script.dest }}