From b189a07f79ac93c60e1529b3e4f8a671053fd92d Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 19 Mar 2017 11:05:26 +0100 Subject: fixed touch statements to only touch once --- roles/configure_sysctl/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'roles/configure_sysctl/tasks') 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: -- cgit v1.2.3-54-g00ecf