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