diff options
| author | alex <alex@pdp7.net> | 2023-01-21 22:29:21 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-01-21 22:29:21 +0100 |
| commit | 5907aa86f370d84695ffa4f0193287887b7d0109 (patch) | |
| tree | f533e9b8cdb5fb64db44ae6dde90ba32341424f4 | |
| parent | 5c8bd89e050c2d6b572c09daefbae0e5ad388c47 (diff) | |
Add playbook to verify root mail
| -rw-r--r-- | personal_infra/playbooks/verify_root_mail.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/personal_infra/playbooks/verify_root_mail.yaml b/personal_infra/playbooks/verify_root_mail.yaml new file mode 100644 index 00000000..f0522f88 --- /dev/null +++ b/personal_infra/playbooks/verify_root_mail.yaml @@ -0,0 +1,7 @@ +--- +- hosts: all + tasks: + - name: send root mail + command: + cmd: mail -s "ansible test {{ inventory_hostname }}" root + stdin: test |
