Update transmission task
This commit is contained in:
parent
56331232e6
commit
21fce0e4f0
1 changed files with 9 additions and 4 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# TODO: stop transmission daemon beforehand, config does not seem to apply
|
||||
# during active service
|
||||
# transmission's configuration file does not change while the service is
|
||||
# still running
|
||||
- name: stop transmission daemon
|
||||
systemd:
|
||||
name: transmission
|
||||
state: stopped
|
||||
scope: user
|
||||
|
||||
- name: copy transmission template
|
||||
template:
|
||||
|
|
@ -7,9 +12,9 @@
|
|||
dest: '{{ ansible_env.HOME }}/.config/transmission-daemon/settings.json'
|
||||
mode: '0600'
|
||||
|
||||
- name: restart transmission daemon
|
||||
- name: start transmission daemon
|
||||
systemd:
|
||||
name: transmission
|
||||
state: restarted
|
||||
state: started
|
||||
enabled: true
|
||||
scope: user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue