Commit Graph

7 Commits

Author SHA1 Message Date
Adyrem 60856b5b65 Fix authorized_key FQCN and add ansible.posix to CI collections
ansible.posix.authorized_key replaces the bare module name removed
in ansible-core 2.x.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 18:00:11 +02:00
Adyrem 33f42e8ebd Fix CI: add vault password from secret for ansible-lint
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 17:56:46 +02:00
Adyrem b633f8b4ed Fix CI: use python3 -m pip and explicit ansible-galaxy collection install
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 17:48:47 +02:00
Adyrem 6e50504923 Add nodejs and python-pip to gitea_runner dependencies
Node.js is required by JS-based actions (e.g. actions/checkout@v4)
on native host runners. python-pip is needed for ansible-lint install.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 17:39:41 +02:00
Adyrem 39be9fafe7 Add Gitea Actions runner, ansible-lint CI, vault setup, and fix group_vars layout
- Move group_vars into inventory/ so playbooks can find them (was only
  visible to ad-hoc commands via CWD)
- Add Ansible Vault for sensitive variables (gitea/grafana passwords,
  tokens, db credentials) with vault_password_file outside the repo
- Enable Gitea Actions and deploy act_runner with Docker backend on
  the gitea VM
- Add .gitea/workflows/lint.yml to run ansible-lint on every push
- Set up Gitea → GitHub push mirror (sync_on_commit)
- Fix ansible.cfg stdout_callback for ansible-core 2.20 compatibility
- Add python-psycopg2 to gitea role (required for postgresql modules)
- Add docker to gitea_runner role (required by act_runner at startup)
- Exclude password hashes and VM images from git

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 17:34:03 +02:00
Adyrem 72d07f49e3 Add .gitignore to exclude keys and secrets 2026-05-13 16:32:35 +02:00
Adyrem c23274c7ab Initial Ansible automation for homelab infrastructure 2026-05-13 16:17:04 +02:00