mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 19:23:22 +01:00
24b0819e7f
Any play or task should have a name.
14 lines
264 B
YAML
14 lines
264 B
YAML
---
|
|
- name: Install microk8s
|
|
hosts: all
|
|
become: true
|
|
|
|
tasks:
|
|
- name: install microk8s
|
|
community.general.snap:
|
|
classic: true
|
|
name: microk8s
|
|
|
|
- name: add userpermissions
|
|
ansible.builtin.shell: "usermod -aG microk8s vagrant"
|