christianlempa-boilerplates/ansible/installation/inst-microk8s.yaml

12 lines
255 B
YAML
Raw Normal View History

2023-05-25 13:48:38 +02:00
---
- 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') }}"