christianlempa-boilerplates/ansible/provisoning/ubuntu/install-microk8s.yaml
2021-06-11 15:01:45 +02:00

20 lines
287 B
YAML

---
- hosts: all
become: yes
tasks:
# Installs Microk8s
# --
#
- name: install microk8s
snap:
classic: yes
name: microk8s
# Sets User Permissions
# --
#
- name: add userpermissions
shell: "usermod -aG microk8s {{ lookup('env','USER') }}"