mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 09:44:24 +01:00
12 lines
255 B
YAML
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') }}"
|