Replaced .infinito.service and .infinito.timer by SOFTWARE_NAME suffix, optimized LICENSE link and update OIDC Realm and ID conf

This commit is contained in:
2025-08-14 14:39:18 +02:00
parent 1b638c366e
commit 0228014d34
377 changed files with 549 additions and 508 deletions

View File

@@ -7,7 +7,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
## Overview
- Installs the `certreap` cleanup tool using the `pkgmgr-install` role
- Deploys and configures a `sys-cln-certs.infinito.service` systemd unit
- Deploys and configures a `sys-cln-certs{{ SYS_SERVICE_SUFFIX }}` systemd unit
- (Optionally) Sets up a recurring cleanup via a systemd timer using the `sys-timer` role
- Integrates with `sys-alm-compose` to send failure notifications
- Ensures idempotent execution with a `run_once_sys_cln_certs` flag
@@ -18,7 +18,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
Uses `pkgmgr-install` to install the `certreap` binary.
- **Systemd Service Configuration**
Deploys `sys-cln-certs.infinito.service` and reloads/restarts it on changes.
Deploys `sys-cln-certs{{ SYS_SERVICE_SUFFIX }}` and reloads/restarts it on changes.
- **Systemd Timer Scheduling**
Optionally wires in a timer via the `sys-timer` role, controlled by the `on_calendar_cleanup_certs` variable.
@@ -27,11 +27,11 @@ This Ansible role automates the detection, revocation and deletion of unused Let
Prevents multiple runs in one play by setting a `run_once_sys_cln_certs` fact.
- **Failure Notification**
Triggers `sys-alm-compose.infinito@sys-cln-certs.infinito.service` on failure.
Triggers `sys-alm-compose.infinito@sys-cln-certs{{ SYS_SERVICE_SUFFIX }}` on failure.
## Further Resources
- [certreap on GitHub](https://github.com/kevinveenbirkenbach/certreap)
- [Ansible community.general.pacman module](https://docs.ansible.com/ansible/latest/collections/community/general/pacman_module.html)
- [Infinito.Nexus NonCommercial License (CNCL)](https://s.infinito.nexus/license)
- [Infinito.Nexus NonCommercial License](https://s.infinito.nexus/license)
- [systemd.unit(5) manual](https://www.freedesktop.org/software/systemd/man/systemd.unit.html)

View File

@@ -1,6 +1,6 @@
- name: "Reload and restart sys-cln-certs.infinito.service"
- name: "Reload and restart sys-cln-certs service"
systemd:
name: sys-cln-certs.infinito.service
name: sys-cln-certs{{ SYS_SERVICE_SUFFIX }}
enabled: yes
daemon_reload: yes
state: restarted

View File

@@ -1,7 +1,7 @@
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Automates the revocation and deletion of unused Let's Encrypt certificates"
license: "Infinito.Nexus NonCommercial License (CNCL)"
license: "Infinito.Nexus NonCommercial License"
license_url: "https://s.infinito.nexus/license"
company: |
Kevin Veen-Birkenbach

View File

@@ -11,11 +11,11 @@
vars:
package_name: certreap
- name: configure sys-cln-certs.infinito.service
- name: configure sys-cln-certs{{ SYS_SERVICE_SUFFIX }}
template:
src: sys-cln-certs.service.j2
dest: /etc/systemd/system/sys-cln-certs.infinito.service
notify: Reload and restart sys-cln-certs.infinito.service
dest: /etc/systemd/system/sys-cln-certs{{ SYS_SERVICE_SUFFIX }}
notify: Reload and restart sys-cln-certs service
- name: "set 'service_name' to '{{ role_name }}'"
set_fact: