browsertrix/ansible/install_microk8s.yml
Ilya Kreymer a0def4f2b3
ansible microk8s additional cleanup (#1295)
follow-up to #1264: 
- microk8s: move default inventory vars role defaults
- microk8s: improve debugging of template output
- do: move teardown tasks to new role
2023-10-16 18:55:35 -07:00

22 lines
475 B
YAML

---
- hosts: all
gather_facts: yes
become: yes
roles:
- microk8s/debian # Change to redhat if using a redhat distro
- microk8s/common
- btrix/deploy
handlers:
- name: Reboot System
ansible.builtin.reboot:
when:
- skip_handlers | default("false") == "false"
- name: microk8s ready
ansible.builtin.command:
cmd: microk8s.status --wait-ready
changed_when: false
when:
- skip_handlers | default("false") == "false"