summaryrefslogtreecommitdiff
path: root/roles/configure_sysctl/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/configure_sysctl/tasks')
-rw-r--r--roles/configure_sysctl/tasks/main.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/configure_sysctl/tasks/main.yml b/roles/configure_sysctl/tasks/main.yml
index fa73a9a..102412a 100644
--- a/roles/configure_sysctl/tasks/main.yml
+++ b/roles/configure_sysctl/tasks/main.yml
@@ -1,8 +1,9 @@
---
- name: touch sysctl.conf
- file:
- path: /etc/sysctl.conf
- state: touch
+ copy:
+ content: ''
+ dest: /etc/sysctl.conf
+ force: no
- name: copy ff.conf
copy: