ansible-base/roles/backup_client/tasks/package.yml

14 lines
335 B
YAML
Raw Normal View History

---
- 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'
notify: restart cron
- name: BorgBackup installed
package:
name: "{{ borgbackup_package }}"
state: present
when: backup_client_folders_to_backup != ""