Files
base-infra/site.yml
Felix Nehrke f19a1f61c9 Use port 1022 for all cluster nodes as SSH-port and fix some config-errors
I'm oversaw completely, that I have to change the SSH-port for all nodes
in the cluster otherwise I cannot provide a meaningful load-balancer for
the git-ssh port in it.

Additionally this allowed me to fix some config errors which I simply
oversaw.
2025-11-28 00:28:22 +01:00

36 lines
509 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
roles:
- role: k8s-setup
tags:
- init
- k8s