Bugfix - playbook is crashing if zimbra user does not exist

This commit is contained in:
lucascbeyeler 2017-07-09 17:35:02 -03:00
parent 6be782c631
commit 72057a6504
1 changed files with 4 additions and 4 deletions

View File

@ -11,13 +11,13 @@
# Installation process # Installation process
################################################################################ ################################################################################
- include: 'install/vars.yml' - include: 'install/vars.yml'
when: getent_passwd.rc == 0 when: getent_passwd.rc == 2
- include: 'install/dependencies.yml' - include: 'install/dependencies.yml'
when: getent_passwd.rc == 0 when: getent_passwd.rc == 2
- include: 'install/zimbra.yml' - include: 'install/zimbra.yml'
when: getent_passwd.rc == 0 when: getent_passwd.rc == 2
- include: 'install/policyd.yml' - include: 'install/policyd.yml'
when: getent_passwd.rc == 0 and zimbra-policyd == 'y' when: getent_passwd.rc == 2 and zimbra-policyd == 'y'
# #
# Configuration process # Configuration process