From 844c9eb9e593540fa62d9b54055435221a731b1f Mon Sep 17 00:00:00 2001 From: Lucas Costa Beyeler Date: Sat, 6 Jan 2018 21:16:26 -0200 Subject: [PATCH] Bugfix for Zimbra 8.8.5 not working the access by IP and updating script to Ansible 2.4 --- tasks/install/zimbra.yml | 5 +++++ tasks/main.yml | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/tasks/install/zimbra.yml b/tasks/install/zimbra.yml index cde16f2..4237736 100644 --- a/tasks/install/zimbra.yml +++ b/tasks/install/zimbra.yml @@ -49,6 +49,11 @@ args: chdir: /opt/zimbra/bin/ +- name: Configuring Zimbra Hostname for Domain {{ domain }} + command: ./zmprov md {{ domain }} zimbraVirtualIPAddress 127.0.0.1 + args: + chdir: /opt/zimbra/bin/ + - name: Reloading Proxy configuration command: ./zmproxyconfgen args: diff --git a/tasks/main.yml b/tasks/main.yml index 2905512..ccedbc6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,29 +10,29 @@ # # Installation process ################################################################################ -- include: 'install/vars.yml' +- import_tasks: 'install/vars.yml' when: getent_passwd.rc == 2 -- include: 'install/dependencies.yml' +- import_tasks: 'install/dependencies.yml' when: getent_passwd.rc == 2 -- include: 'install/zimbra.yml' +- import_tasks: 'install/zimbra.yml' when: getent_passwd.rc == 2 -- include: 'install/policyd.yml' +- import_tasks: 'install/policyd.yml' when: zimbra_policyd == 'y' # # Configuration process ################################################################################ -- include: 'configure/proxy.yml' +- import_tasks: 'configure/proxy.yml' when: zimbra_proxy == 'y' -- include: 'configure/mailbox.yml' +- import_tasks: 'configure/mailbox.yml' when: zimbra_store == 'y' -- include: 'configure/mta.yml' +- import_tasks: 'configure/mta.yml' when: zimbra_mta == 'y' # # Extras configuration process ################################################################################ -- include: 'extras/modify-logo.yml' +- import_tasks: 'extras/modify-logo.yml' when: zmlogologin is defined and zmlogoapp is defined #