browsertrix/ansible/install_k3s.yml
Anish Lakhwara 253a267830
Move DO ansible playbook to new format (#1159)
* feat: move do_setup to new unified format at root of ansible/ dir to allow sharing roles, inventory with playbooks for other deployment types

* fix: pass ansible lint

* update do settings to current deployment:
- bump main node params
- add additional settings to helm values template

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2023-09-27 22:36:34 -07:00

32 lines
818 B
YAML

---
# Can be skipped if k3s is installed, this installs k3s
- hosts: k3s_cluster
gather_facts: yes
connection: local # Comment if deploying to remote host
become: yes
roles:
- role: prereq
- role: download
# Can be skipped if k3s is installed, this configures the master k3s node
- hosts: controller
connection: local # Comment if deploying to remote host
become: yes
roles:
- role: k3s/master
# Uncomment for multi-node deployment
# - hosts: node
# roles:
# - role: k3s/node
# Ansible controller to install browsertrix cloud
- hosts: 127.0.0.1
connection: local
become: yes # Can be removed if not using the btrix/prereq role
roles:
- role: btrix/prereq # Only required if you wish to install & configure Helm / Kubectl
- role: btrix/install
- role: btrix/deploy