summaryrefslogtreecommitdiff
path: root/roles/configure_sysctl/tasks
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-19 11:05:26 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-19 11:05:26 +0100
commitb189a07f79ac93c60e1529b3e4f8a671053fd92d (patch)
tree9c452efb5ec5b169838031a9c2fd1f287a20e8be /roles/configure_sysctl/tasks
parentc9b41c2f8ad0ec0db7fb8448545f1b5248d67f42 (diff)
fixed touch statements to only touch once
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: