* Refactor microk8s playbook to follow structure with shared roles - Integrates with btrix/deploy role for deploying - Seperated RedHat and Debian into seperate roles - Created Common role - allow running remotely by default - use 'browsertrix_cloud_home' for charts path - add additional customizable options to btrix_values.j2 (todo: unify all the templates) - docs: update to new playbook path --------- Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
24 lines
534 B
YAML
24 lines
534 B
YAML
---
|
|
- hosts: all
|
|
gather_facts: yes
|
|
become: yes
|
|
vars_files:
|
|
- inventory/microk8s/group_vars/main.yml
|
|
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"
|