Initialize infrastructure maintenance scripts with Ansible playbooks

Add Ansible-based maintenance scripts for infrastructure operations:
- CVE scanner using NIST NVD database
- Package update checker with OpenAI risk assessment
- Docker cleanup playbook
- Log archiver for rotated logs
- Disk space analyzer

Supports Ubuntu 20.04/22.04/24.04, Debian 11/12/13, and Alpine Linux
This commit is contained in:
2026-01-22 10:37:08 -03:00
commit 3574b47a5f
10 changed files with 1154 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
[all:vars]
ansible_python_interpreter=/usr/bin/python3
[webservers]
# webserver1.example.com ansible_host=192.168.1.10
# webserver2.example.com ansible_host=192.168.1.11
[dbservers]
# dbserver1.example.com ansible_host=192.168.1.20
# dbserver2.example.com ansible_host=192.168.1.21
[appservers]
# appserver1.example.com ansible_host=192.168.1.30
# appserver2.example.com ansible_host=192.168.1.31
[dockerservers]
# docker1.example.com ansible_host=192.168.1.40
# docker2.example.com ansible_host=192.168.1.41
[all:children]
webservers
dbservers
appservers
dockerservers