1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02:00
ansible_role_restic_archiver/tasks/mail.yml
2021-02-17 16:54:16 +01:00

17 lines
353 B
YAML

---
- name: install requirements
become: true
package:
name:
- jq
- bsd-mailx
state: present
- name: deploy restic template
template:
src: templates/restic_mailsummary.j2
dest: /opt/restic-mailsummary.sh
group: "{{ restic_archiver__owner }}"
owner: "{{ restic_archiver__group }}"
mode: 0700
become: true