From 02228e13d7eea9c484c5721adff3a11bc9c04b21 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sun, 29 Jul 2018 22:34:07 +0200 Subject: [PATCH] Forcibly enable deluged systemd service --- operations/deluge/tasks/conf.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/operations/deluge/tasks/conf.yml b/operations/deluge/tasks/conf.yml index 1976e02..5cbb717 100644 --- a/operations/deluge/tasks/conf.yml +++ b/operations/deluge/tasks/conf.yml @@ -36,3 +36,8 @@ src: service dest: /etc/systemd/system/deluged.service notify: Restart Deluge + register: result + +- name: Enabled service + command: systemctl enable deluged + when: result is changed