christianlempa-boilerplates/vagrant/hyperv/ubuntu/microk8s-installed/playbook.yaml

17 lines
315 B
YAML
Raw Normal View History

2021-06-11 15:05:20 +02:00
---
- name: Install microk8s
hosts: all
become: true
2021-06-11 15:05:20 +02:00
tasks:
- name: Install microk8s
2024-03-03 16:10:27 +01:00
community.general.snap:
classic: true
2024-03-03 16:10:27 +01:00
name: microk8s
- name: Add user vagrant to group microk8s
ansible.builtin.user:
name: vagrant
groups: microk8s
append: true