mirror of
https://github.com/lucascbeyeler/zimbra
synced 2026-09-29 19:31:08 +02:00
Instalación Zimbra 10.x
This commit is contained in:
@@ -10,11 +10,15 @@
|
||||
state: present
|
||||
with_items: "{{ hosts_lines }}"
|
||||
when: hosts_lines is defined
|
||||
|
||||
- name: Set Zimbra OSE {{ zimbra_version }} build name
|
||||
set_fact:
|
||||
zm_pkg: "{{ zm_repo[zimbra_version].builds[ansible_distribution | lower][ansible_distribution_major_version | int] }}"
|
||||
|
||||
- name: Download and unpacking Zimbra OSE
|
||||
- name: Download and unpacking Zimbra OSE {{ zimbra_version }}
|
||||
unarchive:
|
||||
validate_certs: no
|
||||
src: '{{ zmurl }}{{ zmpkg }}.tgz'
|
||||
src: '{{ zm_repo[zimbra_version].url }}{{ zm_pkg }}.tgz'
|
||||
dest: /usr/local/src/
|
||||
copy: no
|
||||
|
||||
@@ -39,10 +43,10 @@
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Installing Zimbra OSE
|
||||
- name: Installing Zimbra OSE {{ zimbra_version }}
|
||||
shell: ./install.sh -s < /tmp/zcs/installZimbra-keystrokes
|
||||
args:
|
||||
chdir: '/usr/local/src/{{ zmpkg }}/'
|
||||
chdir: '/usr/local/src/{{ zm_pkg }}/'
|
||||
|
||||
- name: Configuring Zimbra OSE's services for use
|
||||
command: ./zmsetup.pl -c /tmp/zcs/installZimbraScript
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#
|
||||
# Installation process
|
||||
################################################################################
|
||||
- import_tasks: 'vars/{{zimbra_version}}.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
- import_tasks: 'install/dependencies.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
- import_tasks: 'install/zimbra.yml'
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
---
|
||||
#
|
||||
# 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"
|
||||
Reference in New Issue
Block a user