Implement issue #4 and some modifications

All the service accounts are renamed to remove the gibberish created by
Zimbra.
This commit is contained in:
Lucas Costa Beyeler 2017-03-01 17:39:29 -03:00
parent a3d7e7514b
commit 8d639a6c64
2 changed files with 6 additions and 4 deletions

View File

@ -56,6 +56,7 @@ Role Variables
* **zmnetwork:** set the network the Zimbra server is; * **zmnetwork:** set the network the Zimbra server is;
* **zmlogologin:** Inform the path for your logo (Login Screen) - don't inform and no image will be applied; * **zmlogologin:** Inform the path for your logo (Login Screen) - don't inform and no image will be applied;
* **zmlogoapp:** Inform the path for your logo (Application Screen) - don't inform and no image will be applied; * **zmlogoapp:** Inform the path for your logo (Application Screen) - don't inform and no image will be applied;
* **timezone:** inform the timezone the playbook should set in your server;
Dependencies Dependencies
------------ ------------
@ -72,6 +73,7 @@ Example Playbook
- role: lucascbeyeler.ansible-zimbra - role: lucascbeyeler.ansible-zimbra
hostname: warudo hostname: warudo
domain: hollowbastion.com domain: hollowbastion.com
timezone: America/Sao_Paulo
zmpasswd: 123change zmpasswd: 123change
zmnetwork: 192.168.122.0/24 zmnetwork: 192.168.122.0/24
zmlogologin: /tmp/login.png zmlogologin: /tmp/login.png

View File

@ -55,13 +55,13 @@ SNMPTRAPHOST="{{ hostname }}.{{ domain }}"
SPELLURL="http://{{ hostname }}.{{ domain }}:7780/aspell.php" SPELLURL="http://{{ hostname }}.{{ domain }}:7780/aspell.php"
STARTSERVERS="yes" STARTSERVERS="yes"
SYSTEMMEMORY="3.8" SYSTEMMEMORY="3.8"
TRAINSAHAM="ham.mwbaf3ds2e@{{ domain }}" TRAINSAHAM="ham@{{ domain }}"
TRAINSASPAM="spam.zp_x70awf@{{ domain }}" TRAINSASPAM="spam@{{ domain }}"
UIWEBAPPS="yes" UIWEBAPPS="yes"
UPGRADE="yes" UPGRADE="yes"
USESPELL="yes" USESPELL="yes"
VERSIONUPDATECHECKS="TRUE" VERSIONUPDATECHECKS="TRUE"
VIRUSQUARANTINE="virus-quarantine.ojgno7nds@{{ domain }}" VIRUSQUARANTINE="virus-quarantine@{{ domain }}"
ZIMBRA_REQ_SECURITY="yes" ZIMBRA_REQ_SECURITY="yes"
ldap_bes_searcher_password="{{ zmpasswd }}" ldap_bes_searcher_password="{{ zmpasswd }}"
ldap_dit_base_dn_config="cn=zimbra" ldap_dit_base_dn_config="cn=zimbra"
@ -80,7 +80,7 @@ zimbraFeatureTasksEnabled="Enabled"
zimbraIPMode="ipv4" zimbraIPMode="ipv4"
zimbraMailProxy="TRUE" zimbraMailProxy="TRUE"
zimbraMtaMyNetworks="127.0.0.0/8 [::1]/128 {{ zmnetwork }}" zimbraMtaMyNetworks="127.0.0.0/8 [::1]/128 {{ zmnetwork }}"
zimbraPrefTimeZoneId="America/Sao_Paulo" zimbraPrefTimeZoneId="{{ timezone }}"
zimbraReverseProxyLookupTarget="TRUE" zimbraReverseProxyLookupTarget="TRUE"
zimbraVersionCheckNotificationEmail="admin@{{ domain }}" zimbraVersionCheckNotificationEmail="admin@{{ domain }}"
zimbraVersionCheckNotificationEmailFrom="admin@{{ domain }}" zimbraVersionCheckNotificationEmailFrom="admin@{{ domain }}"