Updating playbook to Zimbra version 8.8.8

This commit is contained in:
Lucas Costa Beyeler 2018-04-07 11:31:36 -03:00
parent 9d7563a37b
commit 1b7e74a629
3 changed files with 8 additions and 27 deletions

View File

@ -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

View File

@ -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"

View File

@ -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/