Role network-iptables-gateway: load module nf_conntrack at boot
This commit is contained in:
parent
ce47909a2c
commit
f81a5c1a5f
2 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,11 @@
|
||||||
- iptables
|
- iptables
|
||||||
- iptables-persistent
|
- iptables-persistent
|
||||||
|
|
||||||
|
- name: configure nf_conntrack module to load on system boot
|
||||||
|
template:
|
||||||
|
src: nf_conntrack.module.conf.j2
|
||||||
|
dest: /etc/modules-load.d/nf_conntrack.conf
|
||||||
|
|
||||||
- name: load netfilter modules
|
- name: load netfilter modules
|
||||||
modprobe:
|
modprobe:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#
|
||||||
|
# Load nf_conntrack module on system boot
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
#
|
||||||
|
nf_conntrack
|
Loading…
Reference in a new issue