Go to file
Lucas Costa Beyeler 8e2be51f11 Updating Ansible version Bugfix for Zimbra 8.8.5 not working the access by IP and updating script to Ansible 2.4 Bugfix for Zimbra 8.8.5 not working the access by IP 1 hour ago Changing version to 8.8.5 Updating download address to 8.8 3 hours ago Updating to Zimbra 8.8 12 hours ago Bugfix #11 - Role fails to find local zimbra commands 3 months ago Including Antispam Auto Update Update README.md Including bayesian mail filtering options 4 months ago Update sauser.cf Bugfix - part of the code was comment for debug. 5 months ago Updating README.md Updating README.md Uploading new test.yml Updating README.md Correcting README.md Bugfix - Ignoring errors from the restart step Rewrite of the README.md Bugfix - Enabling zimbra reboot after playbook run Bugfix - Removing variables for logo Bugfix - Wrong name for the services 3 file changes in working directory View changes commit:90bc5a Bugfix for Zimbra 8.8.5 not working the access by IP 2018-01-06 22:13:59 -02:00
defaults Playbook rewrite 2017-07-09 16:55:00 -03:00
files Including bayesian mail filtering options 2017-08-10 15:17:12 -03:00
meta Updating Ansible version 2018-01-06 21:18:09 -02:00
tasks Updating Ansible version Bugfix for Zimbra 8.8.5 not working the access by IP and updating script to Ansible 2.4 Bugfix for Zimbra 8.8.5 not working the access by IP 1 hour ago Changing version to 8.8.5 Updating download address to 8.8 3 hours ago Updating to Zimbra 8.8 12 hours ago Bugfix #11 - Role fails to find local zimbra commands 3 months ago Including Antispam Auto Update Update README.md Including bayesian mail filtering options 4 months ago Update sauser.cf Bugfix - part of the code was comment for debug. 5 months ago Updating README.md Updating README.md Uploading new test.yml Updating README.md Correcting README.md Bugfix - Ignoring errors from the restart step Rewrite of the README.md Bugfix - Enabling zimbra reboot after playbook run Bugfix - Removing variables for logo Bugfix - Wrong name for the services 3 file changes in working directory View changes commit:90bc5a Bugfix for Zimbra 8.8.5 not working the access by IP 2018-01-06 22:13:59 -02:00
templates Updating to Zimbra 8.8 2018-01-05 23:11:45 -02:00
tests Uploading new test.yml 2017-07-09 19:03:29 -03:00
vars Updating Ansible version Bugfix for Zimbra 8.8.5 not working the access by IP and updating script to Ansible 2.4 Bugfix for Zimbra 8.8.5 not working the access by IP 1 hour ago Changing version to 8.8.5 Updating download address to 8.8 3 hours ago Updating to Zimbra 8.8 12 hours ago Bugfix #11 - Role fails to find local zimbra commands 3 months ago Including Antispam Auto Update Update README.md Including bayesian mail filtering options 4 months ago Update sauser.cf Bugfix - part of the code was comment for debug. 5 months ago Updating README.md Updating README.md Uploading new test.yml Updating README.md Correcting README.md Bugfix - Ignoring errors from the restart step Rewrite of the README.md Bugfix - Enabling zimbra reboot after playbook run Bugfix - Removing variables for logo Bugfix - Wrong name for the services 3 file changes in working directory View changes commit:90bc5a Bugfix for Zimbra 8.8.5 not working the access by IP 2018-01-06 22:13:59 -02:00
.gitignore Rewrite playbook 2017-07-08 16:12:58 -03:00
.travis.yml Rewriting playbook for multiserver purpose 2017-07-09 17:06:04 -03:00
LICENSE Rewriting playbook for multiserver purpose 2017-07-09 17:06:04 -03:00
README.md Updating Ansible version Bugfix for Zimbra 8.8.5 not working the access by IP and updating script to Ansible 2.4 Bugfix for Zimbra 8.8.5 not working the access by IP 1 hour ago Changing version to 8.8.5 Updating download address to 8.8 3 hours ago Updating to Zimbra 8.8 12 hours ago Bugfix #11 - Role fails to find local zimbra commands 3 months ago Including Antispam Auto Update Update README.md Including bayesian mail filtering options 4 months ago Update sauser.cf Bugfix - part of the code was comment for debug. 5 months ago Updating README.md Updating README.md Uploading new test.yml Updating README.md Correcting README.md Bugfix - Ignoring errors from the restart step Rewrite of the README.md Bugfix - Enabling zimbra reboot after playbook run Bugfix - Removing variables for logo Bugfix - Wrong name for the services 3 file changes in working directory View changes commit:90bc5a Bugfix for Zimbra 8.8.5 not working the access by IP 2018-01-06 22:13:59 -02:00

README.md

Zimbra

Ansible role to install and configure Zimbra Collaboration Open Source Edition

Build Status Zimbra Version Linux Distro Branch Ansible Version

Requirements

Install

ansible-zimbra is already in Ansible Galaxy, so the only thing you need to install this script in your machine is just use ansible-galaxy command:

ansible-galaxy install lucascbeyeler.zimbra

Update

When a new version of ansible-zimbra is released, you will need to run the install process again, but with the "-f" or "--force" parameter.

ansible-galaxy install -f lucascbeyeler.zimbra

Features

  • Run many times you want to apply the configuration - installatin only occur if the server has no Zimbra installed
  • Configuring SpamAssassin, Pyzor and Razor;
  • Configure a logo for your server - WARNING: Read this article for more details about the logo;
  • Enable PolicyD service and web admin;
  • Proxy Admin;
  • HTTP to HTTPS redirect;
  • LMTP Host Lookup in Native mode;
  • Customize your Zimbra OSE server;

Role Variables

  • hostname: set the hostname of your server WITHOUT the domain;
  • domain: set the domain for the server and the primary domain for your Zimbra server;
  • zmpasswd: set the password used for every single service in your Zimbra server, like the admin account and the LDAPServer - WARNING: do not put special characters in the password during the install;
  • zmnetwork: set the network the Zimbra server is;
  • zmlogologin: Inform the path for your logo (Login Screen) - don't inform and no image will be applied;
  • zmlogoapp: Inform the path for your logo (Application Screen) - don't inform and no image will be applied;
  • timezone: inform the timezone the playbook should set in your server;
  • ip_address: inform the server's ip address - See ZCS 8.8 upgrade Proxy port problem

Service Variables - Inform "y" or "n"

  • zimbra_ldap: Enable Zimbra LDAP Server - default: y
  • zimbra_logger: Enable Zimbra Logger Service - default: y
  • zimbra_mta: Enable Zimbra MTA Service - default: y
  • zimbra_dnscache: Enable Zimbra DNS Cache Service (unbound) - default: n
  • zimbra_snmp: Enable Zimbra SNMP Checks - default: n
  • zimbra_store: Enable Zimbra Store Service - default: y
  • zimbra_apache: Enable Zimbra Web Interface (Apache Web Server) - default: y
  • zimbra_spell: Enable Zimbra Spell Check - default: y
  • zimbra_memcached: Enable Zimbra Cache Service (Memcached) - default: y
  • zimbra_proxy: Enable Zimbra Proxy Service - default: y
  • zimbra_chat: Enable Zimbra Chat - default: n
  • zimbra_drive: Enable Zimbra ownCloud Drive - default: n
  • zimbra_imapd: Enable Zimbra IMAPD Solo Service BETA - default: n
  • zimbra_policyd: Enable Zimbra PolicyD Service - default: n

Dependencies

To run this playbook, you will need to run lucascbeyeler.baseline too. We do not cover any kind of server preparation, like upgrade the system or change the hostname (even put the hostname in /etc/hosts is made by commons). The motive is because all my playbooks will need some kind of preparation before executed, so to not including the same code in every single project, I made a different playbook that will do everything that is considered "common" in each one of my playbooks.

Example Playbook

    - hosts: zimbra
      become: yes
      become_method: sudo
      roles:
         - role: lucascbeyeler.zimbra
           hostname: warudo
           domain: hollowbastion.com
           timezone: America/Sao_Paulo
           zmpasswd: 123change
           zmnetwork: 192.168.122.0/24
           ip_address: 192.168.122.192
           zmlogologin: /tmp/login.png
           zmlogoapp: /tmp/app.png

License

GNU GPL v3.0

View official GNU site http://www.gnu.org/licenses/gpl.html.

Author Information