Installs Postfix server on Debian and Ubuntu servers.
Available variables can be found in defaults/main.yml
- hosts: all
vars:
postfix_root_alias: 'my@mail.com'
roles:
- alphanodes.setup.postfix
- hosts: all
vars:
postfix_root_alias: 'my@mail.com'
postfix_relayhost: smtp.gmail.com
postfix_relayhost_port: 587
postfix_sasl_auth_enable: true
postfix_sasl_password_maps:
- 'smtp.gmail.com me@gmail.com:my_top_secret_password'
roles:
- alphanodes.setup.postfix