- name: Include dependencies
  include_role:
    name: '{{ item }}'
  loop:
  - sys-bkp-provider
  - sys-ctl-alm-compose
  - sys-lock
  - sys-svc-directory-validator

- include_tasks: 02_pkgmgr_routines.yml
  when: backup_docker_to_local_folder is not defined

- name: "reset (if enabled)"
  include_tasks: 03_reset.yml
  when: MODE_RESET | bool

- include_role:
    name: sys-systemctl
  vars:
    systemctl_copy_files:     false
    systemctl_timer_enabled:  false
    systemctl_on_calendar:    "{{ SYS_SCHEDULE_BACKUP_DOCKER_TO_LOCAL }}"
