mirror of
https://github.com/lucascbeyeler/zimbra
synced 2026-09-29 19:31:08 +02:00
Merge pull request #28 from UdelaRInterior/upgrade-to-zimbra-10
Upgrade to zimbra 10
This commit is contained in:
@@ -73,6 +73,8 @@ zm_repo:
|
||||
```
|
||||
* **disable_existing_dns_stub_listener:** Inform "y" to disable the systemd-resolved DNS stub listener and free up port 53. Default: **n**
|
||||
|
||||
* **zimbra_upgrade:** Inform "y" to upgrade an existing Zimbra installation. Zimbra will be upgraded to **zimbra_version** version. Default: **n**
|
||||
|
||||
Service Variables - Inform "y" or "n"
|
||||
--------------
|
||||
|
||||
|
||||
+4
-2
@@ -39,9 +39,10 @@ zmnetwork: "192.168.200.0/8"
|
||||
timezone: UTC
|
||||
#hosts_lines:
|
||||
# - "198.162.1.3 {{ hostname }}.{{ domain }} {{ hostname }}"
|
||||
disable_existing_dns_stub_listener: n
|
||||
|
||||
#
|
||||
# Zimbra repository
|
||||
# Zimbra installers
|
||||
################################################################################
|
||||
zimbra_version: 8.8.15
|
||||
|
||||
@@ -62,4 +63,5 @@ zm_repo:
|
||||
6: zcs-8.8.15_GA_3869.RHEL6_64.20190918004220
|
||||
7: zcs-8.8.15_GA_3869.RHEL7_64.20190918004220
|
||||
8: zcs-8.8.15_GA_3953.RHEL8_64.20200629025823
|
||||
disable_existing_dns_stub_listener: n
|
||||
|
||||
zimbra_upgrade: false
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
- name: Uploading keystroke file
|
||||
template:
|
||||
src: 'installZimbra-keystrokes'
|
||||
src: "{{ 'installZimbra-keystrokes' if not zimbra_upgrade else 'installZimbraUpgrade-keystrokes' }}"
|
||||
dest: /tmp/zcs/installZimbra-keystrokes
|
||||
owner: root
|
||||
group: root
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
- name: Uploading installer configuration file
|
||||
template:
|
||||
src: 'installZimbraScript.j2'
|
||||
src: "{{ 'installZimbraScript.j2' if not zimbra_upgrade else 'installZimbraScriptUpgrade.j2' }}"
|
||||
dest: /tmp/zcs/installZimbraScript
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
+5
-5
@@ -11,9 +11,9 @@
|
||||
# Installation process
|
||||
################################################################################
|
||||
- import_tasks: 'install/dependencies.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
when: getent_passwd.rc == 2 or zimbra_upgrade
|
||||
- import_tasks: 'install/zimbra.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
when: getent_passwd.rc == 2 or zimbra_upgrade
|
||||
- import_tasks: 'install/policyd.yml'
|
||||
when: zimbra_policyd == 'y'
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
# Configuration process
|
||||
################################################################################
|
||||
- import_tasks: 'configure/proxy.yml'
|
||||
when: zimbra_proxy == 'y'
|
||||
when: zimbra_proxy == 'y' and not zimbra_upgrade
|
||||
- import_tasks: 'configure/mailbox.yml'
|
||||
when: zimbra_store == 'y'
|
||||
when: zimbra_store == 'y' and not zimbra_upgrade
|
||||
- import_tasks: 'configure/mta.yml'
|
||||
when: zimbra_mta == 'y'
|
||||
when: zimbra_mta == 'y' and not zimbra_upgrade
|
||||
- import_tasks: 'configure/disable_existing_dns_stub_listener.yml'
|
||||
when: zimbra_dnscache == 'y' and disable_existing_dns_stub_listener == 'y'
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
zimbraNotifyInstall=no
|
||||
@@ -0,0 +1,5 @@
|
||||
y
|
||||
n
|
||||
y
|
||||
y
|
||||
y
|
||||
Reference in New Issue
Block a user