summaryrefslogtreecommitdiff
path: root/roles/configure_sysctl/tasks/main.yml
blob: e13de675b26be1000df797e83140c5c9f0dda406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: load nf_conntrack kernel module at boot
  copy:
      src: modules-load.d_nf_conntrack.conf
      dest: /etc/modules-load.d/nf_conntrack.conf

- name: load nf_conntrack kernel module
  modprobe:
      name: nf_conntrack
      state: present

- name: touch sysctl.conf
  copy:
      content: ''
      dest: /etc/sysctl.conf
      force: no

- name: copy ff.conf
  copy:
      src: ff.conf
      dest: /etc/sysctl.d/ff.conf
  notify: reload ff-sysctl