2020-07-25 15:06:58 +02:00
|
|
|
---
|
|
|
|
- name: Cron installed
|
|
|
|
package:
|
|
|
|
name: "{{ cron_package }}"
|
|
|
|
state: present
|
2020-08-27 18:01:08 +02:00
|
|
|
when: backup_client_folders_to_backup != "" and ansible_os_family != 'OpenBSD'
|
2020-07-25 15:06:58 +02:00
|
|
|
notify: restart cron
|
|
|
|
|
|
|
|
- name: BorgBackup installed
|
|
|
|
package:
|
|
|
|
name: "{{ borgbackup_package }}"
|
|
|
|
state: present
|
|
|
|
when: backup_client_folders_to_backup != ""
|