Installing Zimbra on a Single Server Using Ansible
The role ansible-zimbra-single
automates the installation of single-server Zimbra Open Source Edition v8.8.15
and v9.0.0
on CentOS 7
, CentOS 8
, Rocky Linux 8
, Ubuntu 18.04
, and Ubuntu 20.04
.
#
Installation PrerequisitesMust be a fresh CentOS
7
, CentOS8
, Rocky Linux8
, Ubuntu18.04
, or Ubuntu20.04
minimal installation.Static network configuration must be already set.
Ansible control node must have the
netaddr
Python module installed.
Installing Ansible and netaddr
module using pip
#
Clone The Repository#
Example Playbook
Important
Ansible managed node tested to run as
root
user only!
Create playbook similar to below:
Important
Change the following roles variables to suit your needs in your play book
#
Modify the hosts file in the repository root directory- Modify the
ip
address of your zimbra server as per your setup
- Then run as follows:
- If you want to setup Zimbra 9 instead:
#
Other FeaturesThe job also installs Fail2Ban, which is preconfigured with jails and filters. They can be found in the /etc/fail2ban directory.
Output:
#
LicenseMIT License
#
Credits to Original AuthorDear Jan: We could not have done this so easily without your excellent effort and contributions to the community.
- Author: Jan Cubillan
- GitHub: https://github.com/jancubillan