christianlempa-boilerplates/ansible/installation/inst-microk8s.yaml
2023-05-25 13:48:38 +02:00

12 lines
255 B
YAML

---
- name: install microk8s
hosts: "{{ hosts }}"
become: yes
tasks:
- name: install microk8s
snap:
classic: yes
name: microk8s
- name: add userpermissions
shell: "usermod -aG microk8s {{ lookup('env','USER') }}"