- name: Include dependencies
  include_role:
    name: '{{ item }}'
  loop:
    - sys-ctl-cln-bkps
  vars:
    flush_handlers: true

- name: set systemctl_timer_service to sys-ctl-cln-backups
  set_fact:
    systemctl_timer_service: "sys-ctl-cln-backups"

- name: "include role for sys-timer for {{ systemctl_timer_service }}"
  include_role:
    name: sys-timer
  vars:
    systemctl_on_calendar: "{{ SYS_SCHEDULE_CLEANUP_BACKUPS }}"
