Implemented msmtp for wordpress

This commit is contained in:
2025-04-03 14:05:00 +02:00
parent fa10fe558d
commit 170636d098
16 changed files with 200 additions and 42 deletions

View File

@@ -1,14 +1,3 @@
- name: install smtp-forwarder
pacman: name=smtp-forwarder state=present
when: run_once_systemd_notifier_email is not defined
- name: configure msmtprc.conf.j2
template:
src: "msmtprc.conf.j2"
dest: "/root/.msmtprc"
mode: 600
when: run_once_systemd_notifier_email is not defined
- name: "create {{systemd_notifier_email_folder}}"
file:
path: "{{systemd_notifier_email_folder}}"