mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
17 lines
504 B
YAML
17 lines
504 B
YAML
- name: set service_name to cln-backups
|
|
set_fact:
|
|
service_name: "cln-backups"
|
|
when: run_once_cleanup_backups_timer is not defined
|
|
|
|
- name: "include role for gen-timer for {{service_name}}"
|
|
include_role:
|
|
name: gen-timer
|
|
vars:
|
|
on_calendar: "{{on_calendar_cleanup_backups}}"
|
|
when: run_once_cleanup_backups_timer is not defined
|
|
|
|
- name: run the cleanup_backups_timer tasks once
|
|
set_fact:
|
|
run_once_cleanup_backups_timer: true
|
|
when: run_once_cleanup_backups_timer is not defined
|