mirror of https://github.com/lucascbeyeler/zimbra
Updating playbook to Zimbra version 8.8.8
This commit is contained in:
parent
9d7563a37b
commit
1b7e74a629
|
|
@ -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.
|
||||
|
||||
[](https://travis-ci.org/lucascbeyeler/zimbra)
|
||||
[](https://www.zimbra.com/downloads/zimbra-collaboration-open-source/)
|
||||
[](https://www.zimbra.com/downloads/zimbra-collaboration-open-source/)
|
||||

|
||||

|
||||
[](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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in New Issue