From 1b7e74a6299cce2cefb3de72a1c3015d4600c157 Mon Sep 17 00:00:00 2001 From: Lucas Costa Beyeler Date: Sat, 7 Apr 2018 11:31:36 -0300 Subject: [PATCH] Updating playbook to Zimbra version 8.8.8 --- README.md | 6 +++--- tasks/install/vars.yml | 10 +++++----- tasks/install/zimbra.yml | 19 ------------------- 3 files changed, 8 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 7df4e9a..f8ef346 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Zimbra Non-Official ansible role to install and configure Zimbra Collaboration Open Source Edition on Red Hat, CentOS and Ubuntu Server. [![Build Status](https://travis-ci.org/lucascbeyeler/zimbra.svg?branch=master)](https://travis-ci.org/lucascbeyeler/zimbra) -[![Zimbra Version](https://img.shields.io/badge/Zimbra-8.8.5-blue.svg)](https://www.zimbra.com/downloads/zimbra-collaboration-open-source/) +[![Zimbra Version](https://img.shields.io/badge/Zimbra-8.8.8-blue.svg)](https://www.zimbra.com/downloads/zimbra-collaboration-open-source/) ![Linux Distro](https://img.shields.io/badge/platform-CentOS%20%7C%20Red%20Hat%20%7C%20Ubuntu-blue.svg) ![Branch](https://img.shields.io/badge/Branch-Master-green.svg) [![Ansible Version](https://img.shields.io/badge/Ansible-2.4.2.0-green.svg)](https://www.ansible.com/) @@ -86,8 +86,8 @@ Example Playbook become_method: sudo roles: - role: lucascbeyeler.zimbra - hostname: warudo - domain: hollowbastion.com + hostname: localhost + domain: localdomain timezone: America/Sao_Paulo zmpasswd: 123change zmnetwork: 192.168.122.0/24 diff --git a/tasks/install/vars.yml b/tasks/install/vars.yml index 5bdbd72..d9d2f56 100644 --- a/tasks/install/vars.yml +++ b/tasks/install/vars.yml @@ -3,20 +3,20 @@ # Setting variables ################################################################################ - name: Loading the address to the most recent release of Zimbra OSE (8.8.5) - set_fact: zmurl=https://files.zimbra.com/downloads/8.8.5_GA/ + set_fact: zmurl=https://files.zimbra.com/downloads/8.8.8_GA/ - name: Check if your distro is Ubuntu Server 16.04 LTS - set_fact: zmpkg=zcs-8.8.5_GA_1894.UBUNTU16_64.20171026035615 + set_fact: zmpkg=zcs-8.8.8_GA_2009.UBUNTU16_64.20180322150747 when: ansible_distribution_major_version|int >= 16 - name: Check if your distro is Ubuntu Server 14.04 LTS - set_fact: zmpkg=zcs-8.8.5_GA_1894.UBUNTU14_64.20171026035615 + set_fact: zmpkg=zcs-8.8.8_GA_2009.UBUNTU14_64.20180322150747 when: ansible_distribution_major_version|int >= 14 and ansible_distribution_major_version|int <= 15 - name: Check if your distro is Red Hat Enterprise Linux or CentOS (Major 6) - set_fact: zmpkg=zcs-8.8.5_GA_1894.RHEL6_64.20171026035615 + set_fact: zmpkg=zcs-8.8.8_GA_2009.RHEL6_64.20180322150747 when: ansible_distribution_major_version == "6" - name: Check if your distro is Red Hat Enterprise Linux or CentOS (Major 7) - set_fact: zmpkg=zcs-8.8.5_GA_1894.RHEL7_64.20171026035615 + set_fact: zmpkg=zcs-8.8.8_GA_2009.RHEL7_64.20180322150747 when: ansible_distribution_major_version == "7" diff --git a/tasks/install/zimbra.yml b/tasks/install/zimbra.yml index 2134922..c89c6f5 100644 --- a/tasks/install/zimbra.yml +++ b/tasks/install/zimbra.yml @@ -39,22 +39,3 @@ command: ./zmsetup.pl -c /tmp/zcs/installZimbraScript args: chdir: /opt/zimbra/libexec/ - -# -# BUGFIX WORKAROUND - Zimbra 8.8.5 does not work without configuring the hostname -################################################################################ - -- name: Configuring Zimbra Hostname for Domain {{ domain }} - command: ./zmprov md {{ domain }} zimbraVirtualHostname {{ hostname }}.{{ domain }} - args: - chdir: /opt/zimbra/bin/ - -- name: Configuring Zimbra Hostname for Domain {{ domain }} - command: ./zmprov md {{ domain }} zimbraVirtualIPAddress {{ ip_address }} - args: - chdir: /opt/zimbra/bin/ - -- name: Reloading Proxy configuration - command: ./zmproxyconfgen - args: - chdir: /opt/zimbra/libexec/