Go to file
Lucas Costa Beyeler 2c40358b68 Including bayesian mail filtering options 2017-08-10 15:17:12 -03: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 Rewriting playbook for multiserver purpose 2017-07-09 17:06:04 -03:00
tasks Bugfix - part of the code was comment for debug. 2017-07-16 17:41:06 -03:00
templates Bugfix - Playbook broking when upload keystroke file 2017-07-09 17:46:33 -03:00
tests Uploading new test.yml 2017-07-09 19:03:29 -03:00
vars Bugfix - Removing variables for logo 2017-07-09 18:30:47 -03: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 README.md 2017-07-09 20:15:46 -03: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;

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 BETA - default: n
  • zimbra_drive: Enable Zimbra ownCloud Drive 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.ansible-zimbra
           hostname: warudo
           domain: hollowbastion.com
           timezone: America/Sao_Paulo
           zmpasswd: 123change
           zmnetwork: 192.168.122.0/24
           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