summaryrefslogtreecommitdiff
path: root/roles/configure_sysctl/tasks/main.yml
blob: fa73a9a998a5abdebbce07bb7c388aba889a804a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: touch sysctl.conf
  file:
      path: /etc/sysctl.conf
      state: touch

- 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