christianlempa-boilerplates/vagrant/hyperv/ubuntu/microk8s-installed/playbook.yaml
2024-03-03 17:35:14 +01:00

17 lines
315 B
YAML

---
- name: Install microk8s
hosts: all
become: true
tasks:
- name: Install microk8s
community.general.snap:
classic: true
name: microk8s
- name: Add user vagrant to group microk8s
ansible.builtin.user:
name: vagrant
groups: microk8s
append: true