Deploy Simple Mail Forwarder container.
Configure the role.
# https://hub.docker.com/r/zixia/simple-mail-forwarder
simple_mail_forwarder_image: zixia/simple-mail-forwarder:1.4
simple_mail_forwarder_description: Redirect all incoming mails # default: Simple Mail Forwarder
simple_mail_forwarder_hostname: smf01
simple_mail_forwarder_config: '[email protected]:[email protected]'
And include it in your playbook.
- hosts: simple_mail_forwarder
roles:
- role: simple_mail_forwarder