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>
This commit is contained in:
Adyrem
2026-05-13 17:34:03 +02:00
parent 72d07f49e3
commit 39be9fafe7
25 changed files with 1584 additions and 6 deletions
@@ -0,0 +1,5 @@
timezone: Europe/Zurich
admin_user: adyrem
admin_ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdW4rhQFv561bYs8w0/VgR6AFgOLvVsAh6pcjZ/CO2R homelab"
loki_url: "http://10.10.1.137:3100"
@@ -0,0 +1,30 @@
$ANSIBLE_VAULT;1.1;AES256
31373161366133353539336439393963366530323131303662326630346565326664333330613031
3064633138633062656230626261623132663839343162310a633964633136323634616230313334
34363739636133363830393462376638326632383634313664333066366262323131636337613335
6535353866363935310a363536633861326562626365653439386331643262646338633039316135
64366432333635333162613862636534643730656266353839396165353337333934366633326134
35313637386437306562616536383966336663663064656234306661626533323266336262363834
37326130343966323764303562333038386231623737313762633437393266396365653132646133
38633466363530666532336664636638306461643361613239373735343863646132313835393333
62643763306265636362353934623030663966363530636535326632353637663164323137656239
39336438626334353465613739323939646465393233363366653333363237393930353031393031
33646633363337623664396162393630393365323630616532383233636233613238356236393337
38646364616534303136333338396331333362303730633739353163646263396638623231323332
64636564396633396436393535366366333238656234336261633433616538366434376565646236
39373237663638666236306634643838613765653365396230363465386661623234626534393863
61366336363839373939303138333865663031663338393938663265383564326335626263303563
38646133646533363637653130616361646232613565346561316234383965353038373532633631
64613432303761303161333162316465333432356266316533616636353561353534623032663534
31316234346463316236623265356163383562643161626237393333316161663662336264333465
32363236313862376436663537383531343562353462346132333062666261346462613839636462
38323333356335653637323435643966386332333639623364373764306564646266343339653765
64313936346663646131643135613161616261383233616237323663363063373632373936343831
39663034623165623466653730323565653030616239356463303236653033353438323232666635
33363237613263616264663861623365636230363934383861636266343064326136633430386634
30373132623861386333343637633239353431383761656431643234356437656435653136343138
35343635303931363464383665326134333634663033383937316135616263353763373036643932
34376135623631313061306432356136623137373534643031326465666262393238333335666534
33646532303633356163616465373366623866623930653939373336386331323435343635616563
66356432636364373436646666613764313535363836666164333663323932623236313739306462
34613439393834656535623437643431373761633865333234633866646531316131