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/install_dhcp/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'roles/install_dhcp/tasks') diff --git a/roles/install_dhcp/tasks/main.yml b/roles/install_dhcp/tasks/main.yml index 1bca76f..2773e30 100644 --- a/roles/install_dhcp/tasks/main.yml +++ b/roles/install_dhcp/tasks/main.yml @@ -5,9 +5,10 @@ state: present - name: create dhcp file for static ips - file: - path: /etc/dhcpd.hosts.conf - state: touch + copy: + content: '' + dest: /etc/dhcpd.hosts.conf + force: no - name: copy fastd-services-api.php copy: -- cgit v1.2.3-54-g00ecf