homeserver/roles/mgrote_zfs_zed/handlers/main.yml
Michael Grote 7dfe80a4dc move to containerized mail relayhost (#588)
Reviewed-on: #588
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-31 11:37:50 +01:00

5 lines
210 B
YAML

---
- name: testmail # noqa no-changed-when
ansible.builtin.shell:
cmd: "set -o pipefail && echo 'zed ist eingerichtet' | mail -s '{{ ansible_hostname }} - zed' '{{ my_mail }}'"
executable: /bin/bash