mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
17 lines
408 B
YAML
17 lines
408 B
YAML
---
|
|
- include_tasks: versioncheck.yml
|
|
when: submodules_versioncheck|bool
|
|
|
|
- name: deploy restic template
|
|
template:
|
|
src: templates/restic_forget_snapshots.j2
|
|
dest: /opt/restic-backup.sh
|
|
group: "{{ restic_archiver__owner }}"
|
|
owner: "{{ restic_archiver__group }}"
|
|
mode: 0700
|
|
become: true
|
|
|
|
- include_tasks: logs.yml
|
|
when: restic_archiver__log_output | bool
|
|
|
|
- include_tasks: cron.yml
|