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
+5 -5
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"
-19
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/