--- # Install the HA k3s control plane (embedded etcd, 3 servers) — ADR-0001. # Primary founds the cluster (--cluster-init); secondaries join it in a second # play so the primary's node-token fact is available to them. - name: k3s primary (cluster-init) hosts: k3s_primary become: true gather_facts: true roles: - role: k3s_server vars: k3s_server_mode: primary - name: k3s secondaries (join) hosts: k3s_secondary become: true gather_facts: true roles: - role: k3s_server vars: k3s_server_mode: secondary