summaryrefslogtreecommitdiff
path: root/roles/configure_sysctl/tasks/main.yml
blob: 102412ae2c3e7184361199ef3d7cedb1a46a3803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- 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
  register: ff_conf

- name: reload sysctl
  when: ff_conf.changed
  command: /usr/bin/sysctl -p