From 5083afead59fe36f83ecacca58fe0e78b2628d9b Mon Sep 17 00:00:00 2001 From: Daniel Gordi Date: Fri, 5 Apr 2019 21:08:17 +0430 Subject: [PATCH] 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"