christianlempa-boilerplates/ansible/installation/inst-microk8s.yaml
Christoph Schug 70a8bea0ed fix: add and remove blank lines
Add blank lines where it helps with readability (e.g., between each
task) but also remove needless one.
2024-03-03 16:34:29 +01:00

14 lines
304 B
YAML

---
- name: install microk8s
hosts: "{{ my_hosts | d([]) }}"
become: true
tasks:
- name: install microk8s
community.general.snap:
classic: true
name: microk8s
- name: add userpermissions
ansible.builtin.shell: "usermod -aG microk8s {{ lookup('env','USER') }}"