Shorted generic- to gen-

This commit is contained in:
2025-07-09 03:55:24 +02:00
parent 8c411a21c7
commit 94bb060a5b
123 changed files with 96 additions and 96 deletions

View File

@@ -8,7 +8,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 `cln-certs.cymais.service` systemd unit
- (Optionally) Sets up a recurring cleanup via a systemd timer using the `generic-timer` role
- (Optionally) Sets up a recurring cleanup via a systemd timer using the `gen-timer` role
- Integrates with `alert-compose` to send failure notifications
- Ensures idempotent execution with a `run_once_cleanup_certs` flag
@@ -21,7 +21,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
Deploys `cln-certs.cymais.service` and reloads/restarts it on changes.
- **Systemd Timer Scheduling**
Optionally wires in a timer via the `generic-timer` role, controlled by the `on_calendar_cleanup_certs` variable.
Optionally wires in a timer via the `gen-timer` role, controlled by the `on_calendar_cleanup_certs` variable.
- **Smart Execution Logic**
Prevents multiple runs in one play by setting a `run_once_cleanup_certs` fact.

View File

@@ -17,9 +17,9 @@
service_name: "{{ role_name }}"
when: run_once_cleanup_certs is not defined
- name: "include role for generic-timer for {{service_name}}"
- name: "include role for gen-timer for {{service_name}}"
include_role:
name: generic-timer
name: gen-timer
vars:
on_calendar: "{{ on_calendar_cleanup_certs }}"
when: run_once_cleanup_certs is not defined