Files
dbbackup/deploy/ansible/roles/dbbackup/handlers/main.yml
Alexander Renz 13c2608fd7
All checks were successful
CI/CD / Test (push) Successful in 1m7s
CI/CD / Lint (push) Successful in 1m1s
CI/CD / Integration Tests (push) Successful in 43s
CI/CD / Build & Release (push) Has been skipped
feat: add enterprise deployment examples
- Ansible: basic, with-exporter, with-notifications, enterprise playbooks
- Kubernetes: CronJob, ConfigMap, ServiceMonitor, PVC manifests
- Prometheus: alerting rules (RPO/RTO/failure) and scrape configs
- Terraform: AWS S3 bucket with lifecycle policies
- Scripts: GFS backup rotation and health check (Nagios compatible)

All playbooks support:
- Scheduled backups with systemd timers
- GFS retention policies
- Prometheus metrics exporter
- SMTP/Slack/webhook notifications
- Encrypted backups with cloud upload
2026-01-26 04:03:58 +01:00

13 lines
252 B
YAML

---
# dbbackup Ansible Role - Handlers
- name: reload systemd
systemd:
daemon_reload: yes
- name: restart dbbackup
systemd:
name: "dbbackup-{{ dbbackup_backup_type }}.service"
state: restarted
when: ansible_service_mgr == 'systemd'