mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-07 17:03:59 +01:00
70a8bea0ed
Add blank lines where it helps with readability (e.g., between each task) but also remove needless one.
14 lines
304 B
YAML
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') }}"
|