ansible-msmtp-mailer/molecule/default/verify.yml

12 lines
226 B
YAML
Raw Permalink Normal View History

2021-07-03 19:06:48 +00:00
---
- 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