mirror of https://github.com/lucascbeyeler/zimbra
35 lines
1.6 KiB
YAML
35 lines
1.6 KiB
YAML
---
|
|
#
|
|
# Setting variables
|
|
################################################################################
|
|
- name: Loading the address to the most recent release of Zimbra OSE (8.8.15)
|
|
set_fact: zmurl=https://files.zimbra.com/downloads/8.8.15_GA/
|
|
|
|
- name: Check if your distro is Ubuntu Server 16.04 LTS
|
|
set_fact: zmpkg=zcs-8.8.15_GA_3869.UBUNTU16_64.20190918004220
|
|
when: ansible_distribution_major_version|int >= 16 and ansible_distribution_major_version|int <= 17
|
|
|
|
- name: Check if your distro is Ubuntu Server 18.04 LTS
|
|
set_fact: zmpkg=zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220
|
|
when: ansible_distribution_major_version|int >= 18 and ansible_distribution_major_version|int <= 19
|
|
|
|
- name: Check if your distro is Ubuntu Server 20.04 LTS
|
|
set_fact: zmpkg=zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
|
|
when: ansible_distribution_major_version|int >= 20
|
|
|
|
- name: Check if your distro is Ubuntu Server 14.04 LTS
|
|
set_fact: zmpkg=zcs-8.8.15_GA_3869.UBUNTU14_64.20190918004220
|
|
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.15_GA_3869.RHEL6_64.20190918004220
|
|
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.15_GA_3869.RHEL7_64.20190918004220
|
|
when: ansible_distribution_major_version == "7"
|
|
|
|
- name: Check if your distro is Red Hat Enterprise Linux or CentOS (Major 8)
|
|
set_fact: zmpkg=zcs-8.8.15_GA_3953.RHEL8_64.20200629025823
|
|
when: ansible_distribution_major_version == "8"
|