mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 02:11:42 +02:00
Renamed alert-bot to alert-compose
This commit is contained in:
@@ -9,7 +9,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
|
||||
- Installs the `certreap` cleanup tool using the `pkgmgr-install` role
|
||||
- Deploys and configures a `cleanup-certs.cymais.service` systemd unit
|
||||
- (Optionally) Sets up a recurring cleanup via a systemd timer using the `generic-timer` role
|
||||
- Integrates with `alert-core` to send failure notifications
|
||||
- Integrates with `alert-compose` to send failure notifications
|
||||
- Ensures idempotent execution with a `run_once_cleanup_certs` flag
|
||||
|
||||
## Features
|
||||
@@ -27,7 +27,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
|
||||
Prevents multiple runs in one play by setting a `run_once_cleanup_certs` fact.
|
||||
|
||||
- **Failure Notification**
|
||||
Triggers `alert-core.cymais@cleanup-certs.cymais.service` on failure.
|
||||
Triggers `alert-compose.cymais@cleanup-certs.cymais.service` on failure.
|
||||
|
||||
## Further Resources
|
||||
|
||||
|
@@ -24,4 +24,4 @@ galaxy_info:
|
||||
documentation: "https://github.com/kevinveenbirkenbach/certreap#readme"
|
||||
|
||||
dependencies:
|
||||
- alert-core
|
||||
- alert-compose
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Detect, revoke, and delete unused Let's Encrypt certificates based on active NGINX configuration files.
|
||||
OnFailure=alert-core.cymais@%n.service
|
||||
OnFailure=alert-compose.cymais@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user