diff options
Diffstat (limited to 'ansible/roles/torrents/tasks/setup.yaml')
| -rw-r--r-- | ansible/roles/torrents/tasks/setup.yaml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/ansible/roles/torrents/tasks/setup.yaml b/ansible/roles/torrents/tasks/setup.yaml index 25f1fe8..1aaaa83 100644 --- a/ansible/roles/torrents/tasks/setup.yaml +++ b/ansible/roles/torrents/tasks/setup.yaml @@ -1,15 +1,5 @@ --- -- name: 'setup | Ensure required vars are set' - ansible.builtin.assert: - that: - - item | mandatory - loop: - - '{{ torrents_nas_mount_path }}' - - '{{ torrents_rpc_username }}' - - '{{ torrents_rpc_password }}' - no_log: true - - name: 'setup | Install required pkgs' ansible.builtin.package: name: @@ -58,22 +48,3 @@ ansible.builtin.service: name: 'transmission-daemon' state: 'started' - -# We still need to stop it to place the config file or else it will get overwritten -- name: 'setup | Stop the service' - ansible.builtin.service: - name: 'transmission-daemon' - state: 'stopped' - -- name: 'setup | 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: 'setup | Start the service' - ansible.builtin.service: - name: 'transmission-daemon' - state: 'started' - enabled: true |
