Implemented systemd-email.service for native-pull-remote-backups

This commit is contained in:
2021-01-05 18:17:04 +01:00
parent 54a91a808b
commit 1276415dd0
8 changed files with 55 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
- name: install smtp-forwarder
pacman: name=smtp-forwarder state=present
- name: configure msmtprc.conf.j2
template: src=msmtprc.conf.j2 dest=/root/.msmtprc
- name: configure systemd-email.sh
template: src=systemd-email.sh.j2 dest=/usr/local/bin/systemd-email.sh
- name: configure systemd-email.service
template: src=systemd-email.service.j2 dest=/etc/systemd/system/systemd-email.service