ansible-edda/plays/roles/system_zfs/templates/scrub/systemd-mail-zpool-status.j2

12 lines
237 B
Plaintext
Raw Normal View History

2022-08-28 04:02:18 +02:00
#!/bin/sh
/usr/sbin/sendmail -t <<SYSTEMDMAIL
To: root
2022-08-30 20:27:32 +02:00
From: systemd <systemd>
2022-09-22 22:51:43 +02:00
Subject: zpool status $1 on {{ ansible_hostname }}
2022-08-28 04:02:18 +02:00
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
$(zpool status "$1")
SYSTEMDMAIL