Files
infra-phytron/ansible
CubelaPetarandClaude Fable 5 277f378fb8 Fix stale sftp IP, ansible.cfg keys, drop dead shutdown playbook
- sftp IP 192.168.99.68 in CLAUDE.md and server README (DMZ move)
- ansible.cfg: ansible_python_interpreter is a host var, moved to
  group_vars/all.yml; [ssh_connections] -> [ssh_connection] so
  pipelining actually applies
- remove playbooks/shutdown.yml (targeted nonexistent k3s_cluster group)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 10:30:43 +02:00
..
2026-07-10 09:57:37 +02:00
2026-07-10 09:57:37 +02:00
2026-07-10 09:57:37 +02:00
2026-07-10 09:57:37 +02:00
2026-07-10 09:57:37 +02:00

Ansible

Global configuration for all Phytron servers. Run everything from this directory, preferably via just.

Layout

  • hosts.ini — inventory; one group per host (phy_z_*), host aliases match the real hostnames
  • group_vars/all.yml — defaults for all hosts; group_vars/<group>.yml holds per-host overrides only
  • group_vars/secrets.yml — ansible-vault encrypted secrets
  • run.yml — main playbook; playbooks/ — utilities (update, shutdown)
  • roles/ — custom roles; external roles come from requirements.yml

Usage

just reqs                     # install Galaxy role requirements
just run <HOST> [ARGS]       # run run.yml against one host, e.g. just run phy_z_srv_cloud
just compose <HOST>          # docker compose tasks only (--tags compose)
just vault edit              # edit encrypted secrets (encrypt/decrypt/edit)