kadecole.ansible-role-smarthost
Ansible Role: Smarthost
This is an Ansible role to configure sendmail/postfix with a designated smarthost variable. Role will also configure aliases file to forward all root email with admin_email variable.
Requirements
None
Role Variables
smarthost: smtp.example.com
admin_email: [email protected]
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
vars:
smarthost: smtp.example.com
admin_email: [email protected]
roles:
- { role: ansible-role-smarthost }
License
BSD
Author Information
Kade Cole - https://github.com/kadecole/ansible-role-smarthost
