This change is huge, therefore I only sum up the most important changes: * Improve spelling * Reduce ambiguity * Use OpenTofu instead of Terraform * Document missing tags for Ansible * Provide example-configuration * Fix confusion between dotenv and direnv, I use direnv! * Add section about required software * Many spelling mistakes
35 lines
548 B
YAML
35 lines
548 B
YAML
- hosts: server
|
|
gather_facts: no
|
|
roles:
|
|
- role: server-setup
|
|
tags:
|
|
- init
|
|
- add-server
|
|
- hosts: agent
|
|
gather_facts: no
|
|
roles:
|
|
- role: agent-setup
|
|
tags:
|
|
- init
|
|
- add-agent
|
|
- import_playbook: k3s.orchestration.site
|
|
tags:
|
|
- init
|
|
- add-server
|
|
- add-agent
|
|
- import_playbook: k3s.orchestration.upgrade
|
|
tags:
|
|
- update
|
|
- hosts: server[0]
|
|
roles:
|
|
- role: kube-config
|
|
tags:
|
|
- init
|
|
- config
|
|
- update
|
|
- hosts: localhost
|
|
gather_facts: no
|
|
roles:
|
|
- role: k8s-setup
|
|
# Each service brings it's own set of tags
|