mirror of https://github.com/lucascbeyeler/zimbra
Including variable to inform Zimbra version
Now you can set which version of Zimbra you want to use. For now only versions 8.8.5 to 8.8.10 is available. For the future, old versions will be included too!
This commit is contained in:
parent
79156641a8
commit
3bda4ac1e6
|
|
@ -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/)
|
||||
|
|
@ -53,6 +53,7 @@ Role Variables
|
|||
* **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;
|
||||
* **zimbra_version:** Inform which version of Zimbra you want to install. Default: 8.8.10
|
||||
|
||||
Service Variables - Inform "y" or "n"
|
||||
--------------
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# Installation process
|
||||
################################################################################
|
||||
- import_tasks: 'install/vars.yml'
|
||||
- import_tasks: 'vars/{{zimbra_version}}.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
- import_tasks: 'install/dependencies.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
#
|
||||
# Setting variables
|
||||
################################################################################
|
||||
- name: Loading the address to the most recent release of Zimbra OSE (8.8.10)
|
||||
set_fact: zmurl=https://files.zimbra.com/downloads/8.8.10_GA/
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.10_GA_3039.UBUNTU16_64.20180928094617
|
||||
when: ansible_distribution_major_version|int >= 16
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 14.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.10_GA_3039.UBUNTU14_64.20180928094617
|
||||
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.10_GA_3039.RHEL6_64.20180928094617
|
||||
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.10_GA_3039.RHEL7_64.20180928094617
|
||||
when: ansible_distribution_major_version == "7"
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
#
|
||||
# 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/
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.5_GA_1894.UBUNTU16_64.20171026035615
|
||||
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
|
||||
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
|
||||
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
|
||||
when: ansible_distribution_major_version == "7"
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
#
|
||||
# Setting variables
|
||||
################################################################################
|
||||
- name: Loading the address to the most recent release of Zimbra OSE (8.8.6)
|
||||
set_fact: zmurl=https://files.zimbra.com/downloads/8.8.6_GA/
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.6_GA_1906.UBUNTU16_64.20171130041047
|
||||
when: ansible_distribution_major_version|int >= 16
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 14.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.6_GA_1906.UBUNTU14_64.20171130041047
|
||||
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.6_GA_1906.RHEL6_64.20171130041047
|
||||
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.6_GA_1906.RHEL7_64.20171130041047
|
||||
when: ansible_distribution_major_version == "7"
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
#
|
||||
# Setting variables
|
||||
################################################################################
|
||||
- name: Loading the address to the most recent release of Zimbra OSE (8.8.7)
|
||||
set_fact: zmurl=https://files.zimbra.com/downloads/8.8.7_GA/
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.7_GA_1964.UBUNTU16_64.20180223145016
|
||||
when: ansible_distribution_major_version|int >= 16
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 14.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.7_GA_1964.UBUNTU14_64.20180223145016
|
||||
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.7_GA_1964.RHEL6_64.20180223145016
|
||||
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.7_GA_1964.RHEL7_64.20180223145016
|
||||
when: ansible_distribution_major_version == "7"
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Setting variables
|
||||
################################################################################
|
||||
- name: Loading the address to the most recent release of Zimbra OSE (8.8.5)
|
||||
- name: Loading the address to the most recent release of Zimbra OSE (8.8.8)
|
||||
set_fact: zmurl=https://files.zimbra.com/downloads/8.8.8_GA/
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
#
|
||||
# Setting variables
|
||||
################################################################################
|
||||
- name: Loading the address to the most recent release of Zimbra OSE (8.8.9)
|
||||
set_fact: zmurl=https://files.zimbra.com/downloads/8.8.9_GA/
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.9_GA_3019.UBUNTU16_64.20180809160254
|
||||
when: ansible_distribution_major_version|int >= 16
|
||||
|
||||
- name: Check if your distro is Ubuntu Server 14.04 LTS
|
||||
set_fact: zmpkg=zcs-8.8.9_GA_3019.UBUNTU14_64.20180809160254
|
||||
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.9_GA_3019.RHEL6_64.20180809160254
|
||||
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.9_GA_3019.RHEL7_64.20180809160254
|
||||
when: ansible_distribution_major_version == "7"
|
||||
|
|
@ -26,3 +26,8 @@ domain: "localdomain"
|
|||
zmpasswd: "!23Change"
|
||||
zmnetwork: "192.168.200.0/8"
|
||||
timezone: UTC
|
||||
|
||||
#
|
||||
# Zimbra configuration
|
||||
################################################################################
|
||||
zimbra_version: 8.8.10
|
||||
|
|
|
|||
Loading…
Reference in New Issue