ansible-msmtp-mailer/molecule/default/verify.yml
2021-07-03 21:06:48 +02:00

12 lines
226 B
YAML

---
- name: Verify
hosts: all
tasks:
- name: Check if msmtp is correctly listening on port 25
wait_for:
host: 0.0.0.0
port: 25
search_regex: 220 localhost ESMTP msmtpd
timeout: 5