Created
April 27, 2015 09:48
-
-
Save pbruna/1a911dc09c8708802d35 to your computer and use it in GitHub Desktop.
mbx ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Ajusta sysctl net.ipv4.tcp_fin_timeout" | |
sysctl: name=net.ipv4.tcp_fin_timeout value=15 state=present | |
- name: "Ajusta sysctl net.ipv4.tcp_tw_reuse" | |
sysctl: name=net.ipv4.tcp_tw_reuse value=1 state=present | |
- name: "Ajusta sysctl net.ipv4.tcp_tw_recycle" | |
sysctl: name=net.ipv4.tcp_tw_reuse value=1 state=present | |
- name: "Ajusta IMAP segun Doc oficial" | |
sudo_user: zimbra | |
command: /opt/zimbra/bin/zmprov ms `zmhostname` zimbraImapMaxConnections 20000 | |
- name: "Ajusta Memoria para Java" | |
sudo_user: zimbra | |
command: /opt/zimbra/bin/zmlocalconfig mailboxd_java_heap_size=3072 | |
- name: "Ajusta cache de dominios internos" | |
sudo_user: zimbra | |
command: /opt/zimbra/bin/zmlocalconfig -e ldap_cache_domain_maxsize=30000 | |
- name: "Ajusta cache de dominios externos" | |
sudo_user: zimbra | |
command: /opt/zimbra/bin/zmlocalconfig -e ldap_cache_external_domain_maxsize=10000 | |
- name: "Variables para Java" | |
sudo_user: zimbra | |
command: /opt/zimbra/bin/zmlocalconfig mailboxd_java_options="-server -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewRatio=2 -XX:PermSize=196m -XX:MaxPermSize=350m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/zimbra/log -XX:ErrorFile=/opt/zimbra/log/hs_err_pid%p.log" | |
- name: "Copia configuracion de MariaDB" | |
copy: src=my.cnf dest=/opt/zimbra/conf/my.cnf owner=zimbra group=zimbra mode=0664 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment