Files
infra-phytron/ansible
CubelaPetarandClaude Opus 4.8 75296ce58c Rename phy-z-srv-gpu01 to phy-srv-gpu01; fix share analysis scripts
- rename host/group/folder everywhere to match the server's actual
  hostname and physical label
- share-analysis.ps1: sanitize the output filename prefix — '-Paths "D:"'
  produced 'D:-file-types.csv' and Export-Csv failed with 'path format
  not supported', so no CSVs were written
- share-analysis.ps1: new -FolderDepth so folders can be aggregated at
  D:\Abteilungen\<Share> level, which matches the share layout
- list-shares.ps1: -WithSize walks local paths instead of UNC when run on
  the server itself (UNC was orders of magnitude slower and looked stuck)
  and prints progress every 50k files

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-03 14:47:07 +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.yml)
  • 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)