14 lines
335 B
YAML
14 lines
335 B
YAML
---
|
|
- name: Cron installed
|
|
package:
|
|
name: "{{ cron_package }}"
|
|
state: present
|
|
when: backup_client_folders_to_backup != "" and ansible_os_family != 'OpenBSD'
|
|
notify: restart cron
|
|
|
|
- name: BorgBackup installed
|
|
package:
|
|
name: "{{ borgbackup_package }}"
|
|
state: present
|
|
when: backup_client_folders_to_backup != ""
|