From 5083afead59fe36f83ecacca58fe0e78b2628d9b Mon Sep 17 00:00:00 2001 From: Daniel Gordi Date: Fri, 5 Apr 2019 21:08:17 +0430 Subject: [PATCH 1/4] Add Supports for Ubuntu 18.04 and Version 8.8.12GA --- tasks/vars/8.8.12.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tasks/vars/8.8.12.yml diff --git a/tasks/vars/8.8.12.yml b/tasks/vars/8.8.12.yml new file mode 100644 index 0000000..1a47a44 --- /dev/null +++ b/tasks/vars/8.8.12.yml @@ -0,0 +1,26 @@ +--- +# +# Setting variables +################################################################################ +- name: Loading the address to the most recent release of Zimbra OSE (8.8.12) + set_fact: zmurl=https://files.zimbra.com/downloads/8.8.12_GA/ + +- name: Check if your distro is Ubuntu Server 16.04 LTS + set_fact: zmpkg=zcs-8.8.12_GA_3794.UBUNTU16_64.20190329045002 + when: ansible_distribution_major_version|int >= 16 + +- name: Check if your distro is Ubuntu Server 18.04 LTS + set_fact: zmpkg=zcs-8.8.12_GA_3794.UBUNTU18_64.20190329045002 + when: ansible_distribution_major_version|int >= 18 + +- name: Check if your distro is Ubuntu Server 14.04 LTS + set_fact: zmpkg=zcs-8.8.12_GA_3794.UBUNTU14_64.20190329045002 + 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.12_GA_3794.RHEL6_64.20190329045002 + 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.12_GA_3794.RHEL7_64.20190329045002 + when: ansible_distribution_major_version == "7" From 68eb3d980f5de00a061e143a36bc4c1bf82ed607 Mon Sep 17 00:00:00 2001 From: Daniel Gordi Date: Fri, 5 Apr 2019 21:09:55 +0430 Subject: [PATCH 2/4] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef55d29..5c511c8 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.10-blue.svg)](https://www.zimbra.com/downloads/zimbra-collaboration-open-source/) +[![Zimbra Version](https://img.shields.io/badge/Zimbra-8.8.12-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/) @@ -53,7 +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 +* **zimbra_version:** Inform which version of Zimbra you want to install. Default: 8.8.12 Service Variables - Inform "y" or "n" -------------- From 5b1dc256f0922c4403b3159f29ee90295f903221 Mon Sep 17 00:00:00 2001 From: Daniel Gordi Date: Fri, 5 Apr 2019 21:11:54 +0430 Subject: [PATCH 3/4] Add main.yml into .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 168e43b..98e0081 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ OLD +main.yml From 703aa09a6b9b8f9775d45a863994924253f08832 Mon Sep 17 00:00:00 2001 From: Daniel Gordi Date: Fri, 5 Apr 2019 21:14:01 +0430 Subject: [PATCH 4/4] Change default version to 8.8.12 --- vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/main.yml b/vars/main.yml index c3b1917..6a55063 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -30,4 +30,4 @@ timezone: UTC # # Zimbra configuration ################################################################################ -zimbra_version: 8.8.10 +zimbra_version: 8.8.12