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