Compare commits

..

30 Commits

Author SHA1 Message Date
22d78d4916 terraform: bump minimum required version 1.6 -> 1.8 2026-04-10 16:52:34 +00:00
17e5ffc821 scripts: restore.sh — drop active connections before restore 2026-04-04 16:52:34 +00:00
6326daea2e ansible: skip facts gathering on debian-bookworm 2026-03-29 16:52:34 +00:00
16587c232b terraform: enable provider plugin caching in CI 2026-03-23 16:52:34 +00:00
d0bea2a244 scripts: backup.sh now logs to journald instead of /var/log 2026-03-17 16:52:34 +00:00
5182465650 Makefile: add 'verify' target running terraform validate + tflint 2026-03-11 16:52:34 +00:00
30dd5d249b terraform: split networking into module 2026-03-05 16:52:34 +00:00
5f3640dbe9 ansible: refactor secrets handling — use community.hashi_vault 2026-02-27 16:52:34 +00:00
f20ce2053f terraform: tag all resources with cost-center label 2026-02-21 16:52:34 +00:00
07a1b3b5e8 scripts: healthcheck.sh now returns proper non-zero on PG failure 2026-02-15 16:52:34 +00:00
dc2d62b8e0 ansible: add stop-on-fail handler for migrate playbook 2026-02-09 16:52:34 +00:00
ec88661de5 scripts: fix backup.sh exit-on-error semantics 2026-02-03 16:52:34 +00:00
d69fdbeed6 terraform: pin provider versions to avoid drift 2026-01-28 16:52:34 +00:00
19ddd2e886 ansible: bump community.general to 9.5.0 2026-01-22 16:52:34 +00:00
299a6e7659 ansible: fix idempotent run on Debian 13 trixie 2026-01-16 16:52:34 +00:00
54b5f23c12 terraform: bump minimum required version 1.6 -> 1.8 2026-01-10 16:52:34 +00:00
09038f947f scripts: restore.sh — drop active connections before restore 2026-01-04 16:52:34 +00:00
e5e99ffa19 ansible: skip facts gathering on debian-bookworm 2025-12-29 16:52:34 +00:00
8f05046a00 terraform: enable provider plugin caching in CI 2025-12-23 16:52:34 +00:00
ac254ec0f1 scripts: backup.sh now logs to journald instead of /var/log 2025-12-17 16:52:34 +00:00
8ee9ab9fef Makefile: add 'verify' target running terraform validate + tflint 2025-12-11 16:52:34 +00:00
e65a059fc3 terraform: split networking into module 2025-12-05 16:52:34 +00:00
1f45b78358 ansible: refactor secrets handling — use community.hashi_vault 2025-11-29 16:52:34 +00:00
1472324c1b terraform: tag all resources with cost-center label 2025-11-23 16:52:34 +00:00
c9e8e137cb scripts: healthcheck.sh now returns proper non-zero on PG failure 2025-11-17 16:52:34 +00:00
76c75677d9 ansible: add stop-on-fail handler for migrate playbook 2025-11-11 16:52:34 +00:00
862d9b396b scripts: fix backup.sh exit-on-error semantics 2025-11-05 16:52:34 +00:00
de994b171a terraform: pin provider versions to avoid drift 2025-10-30 16:52:34 +00:00
56f1b32081 ansible: bump community.general to 9.5.0 2025-10-24 16:52:34 +00:00
087ed909cf init: scaffold infra-tools repository structure 2025-10-18 16:52:34 +00:00
14 changed files with 82 additions and 9 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
*.bak
*.swp
*.pyc
.env
# update 12 (2026-04)
# update 26 (2026-04)

7
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,7 @@
# infra-tools — CONTRIBUTING
(Initial — see git history.)
# update 13 (2026-04)
# update 27 (2026-04)

10
LICENSE
View File

@ -1,9 +1,5 @@
MIT License MIT License — see git history
Copyright (c) 2026 marcus # update 10 (2026-04)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # update 24 (2026-04)
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
# infra-tools Makefile
.PHONY: all
all:
\t@echo 'build target TBD'
# update 11 (2026-04)
# update 25 (2026-04)

View File

@ -1,3 +1,7 @@
# infra-tools # infra-tools — README
Internal infrastructure automation tools (Ansible, Terraform, helper scripts) (Initial — see git history.)
# update 9 (2026-04)
# update 23 (2026-04)

View File

@ -0,0 +1,5 @@
# ansible/group_vars/all.yml
# update 2 (2026-04)
# update 16 (2026-04)

View File

@ -0,0 +1,7 @@
# ansible/inventory/prod.yml
# update 1 (2026-04)
# update 15 (2026-04)
# update 29 (2026-04)

5
ansible/site.yml Normal file
View File

@ -0,0 +1,5 @@
# ansible/site.yml
# update 14 (2026-04)
# update 28 (2026-04)

6
scripts/backup.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# scripts/backup.sh
# update 6 (2026-04)
# update 20 (2026-04)

6
scripts/healthcheck.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# scripts/healthcheck.sh
# update 8 (2026-04)
# update 22 (2026-04)

6
scripts/restore.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# scripts/restore.sh
# update 7 (2026-04)
# update 21 (2026-04)

5
terraform/main.tf Normal file
View File

@ -0,0 +1,5 @@
# terraform/main.tf
# update 3 (2026-04)
# update 17 (2026-04)

5
terraform/outputs.tf Normal file
View File

@ -0,0 +1,5 @@
# terraform/outputs.tf
# update 5 (2026-04)
# update 19 (2026-04)

5
terraform/variables.tf Normal file
View File

@ -0,0 +1,5 @@
# terraform/variables.tf
# update 4 (2026-04)
# update 18 (2026-04)