mirror of
https://github.com/lucascbeyeler/zimbra
synced 2026-10-09 16:15:34 +02:00
Zimbra upgrade
This commit is contained in:
@@ -45,6 +45,8 @@ timezone: UTC
|
||||
################################################################################
|
||||
zimbra_version: 8.8.15
|
||||
|
||||
zimbra_upgrade: false
|
||||
|
||||
zm_repo:
|
||||
8.8.15:
|
||||
url: https://files.zimbra.com/downloads/8.8.15_GA/
|
||||
|
||||
@@ -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
|
||||
@@ -49,6 +49,6 @@
|
||||
chdir: '/usr/local/src/{{ zm_pkg }}/'
|
||||
|
||||
- name: Configuring Zimbra OSE's services for use
|
||||
command: ./zmsetup.pl -c /tmp/zcs/installZimbraScript
|
||||
command: ./zmsetup.pl {{ '-c /tmp/zcs/installZimbraScript' if not zimbra_upgrade }}
|
||||
args:
|
||||
chdir: /opt/zimbra/libexec/
|
||||
|
||||
+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,5 @@
|
||||
y
|
||||
n
|
||||
y
|
||||
y
|
||||
y
|
||||
Reference in New Issue
Block a user