mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented systemd-email.service for native-pull-remote-backups
This commit is contained in:
11
roles/native-systemd-email/tasks/main.yml
Normal file
11
roles/native-systemd-email/tasks/main.yml
Normal 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
|
Reference in New Issue
Block a user