debian-setup/tasks/transmission.yml
sonny 16a979b04b Use preshared key inside configuration
File options do not seem to work
2021-12-29 12:00:02 +01:00

15 lines
404 B
YAML

# TODO: stop transmission daemon beforehand, config does not seem to apply
# during active service
- name: copy transmission template
template:
src: 'templates/transmission.j2'
dest: '{{ ansible_env.HOME }}/.config/transmission-daemon/settings.json'
mode: '0600'
- name: restart transmission daemon
systemd:
name: transmission
state: restarted
enabled: true
scope: user