This role automates the process of installing multi-server Zimbra Open Source Edition v8.8.15 on CentOS 8
- Must be a fresh CentOS 8 minimal installation
- Ansible control node must have the "netaddr" Python module installed
# python3 -m pip install ansible
# python3 -m pip install netaddr
zimbra_timezone: Asia/Singapore
zimbra_ldap_fqdn: ldap.example.com
zimbra_mta_fqdn: mta.example.com
zimbra_proxy_fqdn: proxy.example.com
zimbra_mailbox_fqdn: mailbox.example.com
zimbra_admin_password: ansible@zimbra2020
Create an inventory file similar below:
# vi inventory
[zimbra_all:children]
zimbra_ldap
zimbra_mta
zimbra_proxy
zimbra_mailbox
[zimbra_ldap]
192.168.122.111
[zimbra_mta]
192.168.122.112
[zimbra_proxy]
192.168.122.113
[zimbra_mailbox]
192.168.122.114
Create playbook similar below:
# vi site.yml
---
- hosts: zimbra_all
vars:
zimbra_timezone: Asia/Singapore
zimbra_ldap_fqdn: ldap.example.com
zimbra_mta_fqdn: mta.example.com
zimbra_proxy_fqdn: proxy.example.com
zimbra_mailbox_fqdn: mailbox.example.com
zimbra_admin_password: ansible@zimbra2020
roles:
- ansible-zimbra-multi
Then run as follows:
# ansible-playbook site.yml
MIT License
Author: Jan Cubillan
GitHub: https://github.com/jancubillan