This file contains hidden or 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
- hosts: localhost | |
tasks: | |
- name: update sysctl | |
action: sysctl state=present reload=yes {{ item }} | |
with_items: | |
# max open files | |
- name=fs.file-max value=65535 | |
# lets not use swap. | |
- name=vm.swappiness value=0 | |
# enable syn coockies. this can actually cause overhead. |