Move deluge onto walker

Stop torrent traffic being limitted by home broadband
This commit is contained in:
Jake Howard
2020-10-02 18:11:27 +01:00
parent 6cfaa3a03a
commit 191374b812
6 changed files with 24 additions and 28 deletions

View File

@ -19,9 +19,6 @@
- name: Install synapse
include: synapse.yml
- name: Install torrent
include: torrent.yml
- name: Install tt-rss
include: tt-rss.yml

View File

@ -1,23 +0,0 @@
- name: Create torrent directory
file:
path: /opt/torrent
state: directory
owner: "{{ docker_user.name }}"
mode: "{{ docker_compose_directory_mask }}"
become: true
- name: Install torrent compose file
template:
src: files/torrent/docker-compose.yml
dest: /opt/torrent/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
register: compose_file
become: true
- name: restart torrent
shell:
chdir: /opt/torrent
cmd: "{{ docker_update_command }}"
when: compose_file.changed