blob: d375645d76dd2d489a983c07127d43bdb3401cbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
# We still need to stop it to place the config file or else it will get overwritten
- name: 'config | Stop the service'
ansible.builtin.service:
name: 'transmission-daemon'
state: 'stopped'
- name: 'config | Copy the transmission config'
ansible.builtin.template:
src: 'settings.json.j2'
dest: '/home/transmission-user/.config/transmission-daemon/settings.json'
owner: 'transmission-user'
mode: '644'
- name: 'config | Start the service'
ansible.builtin.service:
name: 'transmission-daemon'
state: 'started'
enabled: true
|