--- # # Validations before run the playbook ################################################################################ - name: Checking if there is an Zimbra OSE install already command: getent passwd zimbra register: getent_passwd ignore_errors: true # # Installation process ################################################################################ - include: 'install/vars.yml' when: getent_passwd.rc == 2 - include: 'install/dependencies.yml' when: getent_passwd.rc == 2 - include: 'install/zimbra.yml' when: getent_passwd.rc == 2 - include: 'install/policyd.yml' when: zimbra_policyd == 'y' # # Configuration process ################################################################################ - include: 'configure/proxy.yml' when: zimbra_proxy == 'y' - include: 'configure/mailbox.yml' when: zimbra_store == 'y' - include: 'configure/mta.yml' when: zimbra_mta == 'y' # # Extras configuration process ################################################################################ - include: 'extras/modify-logo.yml' when: zmlogologin is defined and zmlogoapp is defined # # Restarting Zimbra ################################################################################ - name: 'Reloading Zimbra OSE Services' command: ./zmcontrol restart args: chdir: '/opt/zimbra/bin/' become: yes become_user: zimbra