From 98421f44a41162bac79de4d4fba5d8741afe44b0 Mon Sep 17 00:00:00 2001 From: Maciej Delmanowski Date: Fri, 9 Dec 2016 15:37:08 +0100 Subject: [PATCH] Remove the old systemd configuration entry --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index dae18a4..90d68c2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -256,6 +256,11 @@ mode: '0755' when: tinc__systemd | bool +- name: Clean up old systemd configuration + file: + path: '/etc/systemd/system/network.target.wants/tinc.service' + state: 'absent' + - name: Configure systemd unit files template: src: 'etc/systemd/system/{{ item }}.j2'