kadecole.ansible-role-smarthost

Ansible Role: Smarthost

Build Status

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

About

Configure sendmail/postfix with a designated smarthost variable.

Install
ansible-galaxy install kadecole.ansible-role-smarthost
GitHub repository
License
bsd-3-clause
Downloads
127
Owner
Network Engineer