Shorted cleanup- to cln-

This commit is contained in:
2025-07-09 03:45:02 +02:00
parent 9668e74139
commit f548faa80f
60 changed files with 88 additions and 88 deletions

View File

@@ -0,0 +1,30 @@
- name: "pkgmgr install"
include_role:
name: pkgmgr-install
vars:
package_name: certreap
when: run_once_cleanup_certs is not defined
- name: configure cln-certs.cymais.service
template:
src: cln-certs.service.j2
dest: /etc/systemd/system/cln-certs.cymais.service
notify: Reload and restart cln-certs.cymais.service
when: run_once_cleanup_certs is not defined
- name: set service_name to the name of the current role
set_fact:
service_name: "{{ role_name }}"
when: run_once_cleanup_certs is not defined
- name: "include role for generic-timer for {{service_name}}"
include_role:
name: generic-timer
vars:
on_calendar: "{{ on_calendar_cleanup_certs }}"
when: run_once_cleanup_certs is not defined
- name: run the run_once_cleanup_certs tasks once
set_fact:
run_once_cleanup_certs: true
when: run_once_cleanup_certs is not defined