Commit graph iac/ansible/inventory/ci.yaml
Author SHA1 Message Date
ffb81b4523
ansible: hand asxpio-services over to NixOS
asxpio-services moves to NixOS (branch nix). Without this, the next
deploy from main would apply the Debian roles to it. Take it out of
every play: services_servers is empty, and the host stays in the
inventory only so that ops's roles can still read its addresses and
public IP. The xmpp_cert_sync tasks that set up the receiving end on
services through delegate_to now run only while services is managed
here; on NixOS that end is part of its configuration.

A dry run of site.yaml against production with this change: ops ok=62
changed=0, every services play skipped.

Assisted-by: Claude:opus-5-5
2026-11-17 06:00:51 +04:00
63bd67a86d ci: deploy site.yaml from Forgejo Actions
Service changes were made by hand on the servers, which is how the
repository drifted. Apply site.yaml from a workflow instead: every
push dry-runs it against production, and a push to main applies it.

Jobs run in containers on asxpio-services. asxpio-ops is reached over
the private network; the services host is reached through asxpio-ops,
because a container connecting to its own host arrives from a Docker
bridge address that sshd and the firewall refuse. Host keys are pinned
in known_hosts.

Ansible comes from a pinned nixpkgs revision so every run uses the
same version.

Assisted-by: Claude:fable-5-2
2026-11-12 06:47:09 +04:00