--- # 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