make sure nf_conntrack is loaded early on

This commit is contained in:
Markus 2018-01-18 12:52:12 +01:00
parent e4a8e9431f
commit 6f22bde725
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@
- name: Load nf_conntrack module
modprobe: name=nf_conntrack
- name: Enable nf_conntrack during boot
lineinfile: dest=/etc/modules line=nf_conntrack
- name: Increas conntrack limit
sysctl: name=net.netfilter.nf_conntrack_max value={{ conntrack_max }} state=present