mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
13 lines
442 B
YAML
13 lines
442 B
YAML
- 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
|
|
notify: restart systemd-email service
|