arillso.postfix
Ansible 角色:Postfix
描述
这是一个用于安装和配置 Postfix 邮件服务器的 Ansible 角色。
安装
$ ansible-galaxy install arillso.postfix
要求
无
角色变量
| 变量 | 默认值 | 备注 (类型) |
| :--- | :--- | :--- |
| postfix_inet_interfaces
| all
| |
| postfix_inet_protocols
| all
| |
| postfix_hostname
| "{{ ansible_fqdn }}"
| |
| postfix_mailname
| $myhostname
| |
| postfix_mynetworks
| - 127.0.0.0/8
| |
| | - '[::ffff:127.0.0.0]/104'
| |
| | - '[::1]/128'
| |
| postfix_mydestination
| - "{{ postfix_hostname }}"
| |
| | - $myhostname
| |
| | - localhost.$mydomain
| |
| | - localhost
| |
| postfix_relayhost
| | |
| postfix_relayhost_port
| | |
| postfix_relaytls
| true
| |
| postfix_sasl_auth_enable
| true
| |
| postfix_sasl_user
| | |
| postfix_sasl_password
| | |
| postfix_sasl_security_options
| noanonymous
| |
| postfix_root_mailbox
| | |
依赖
无
示例剧本
- hosts: all
roles:
- arillso.postfix
更新记录
1.3
- 新增角色测试
1.2
- 重命名角色名称
1.1
- 添加标签
- 添加提升权限
1.0
- 初始发布
作者
许可证
该项目遵循 MIT 许可证。有关完整许可证文本,请查看 LICENSE 文件。
版权
(c) 2016, Simon Bärlocher