Update transmission task

This commit is contained in:
sonny 2022-01-01 19:39:02 +01:00
parent 56331232e6
commit 21fce0e4f0

View file

@ -1,5 +1,10 @@
# TODO: stop transmission daemon beforehand, config does not seem to apply # transmission's configuration file does not change while the service is
# during active service # still running
- name: stop transmission daemon
systemd:
name: transmission
state: stopped
scope: user
- name: copy transmission template - name: copy transmission template
template: template:
@ -7,9 +12,9 @@
dest: '{{ ansible_env.HOME }}/.config/transmission-daemon/settings.json' dest: '{{ ansible_env.HOME }}/.config/transmission-daemon/settings.json'
mode: '0600' mode: '0600'
- name: restart transmission daemon - name: start transmission daemon
systemd: systemd:
name: transmission name: transmission
state: restarted state: started
enabled: true enabled: true
scope: user scope: user