From c8ab4633cab9543b48ef15e475da24770eb90ed4 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 16 May 2024 21:50:48 +1200 Subject: [PATCH] change qbittorrent data dir --- .../inventory/host_vars/kodi00.balsillie.house/docker.yaml | 4 ++-- .../inventory/host_vars/kodi00.balsillie.house/torrent.yaml | 2 +- ansible/playbooks/infra/kodi.yaml | 2 +- ansible/roles/docker/tasks/main.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/inventory/host_vars/kodi00.balsillie.house/docker.yaml b/ansible/inventory/host_vars/kodi00.balsillie.house/docker.yaml index 9537871..dd25258 100644 --- a/ansible/inventory/host_vars/kodi00.balsillie.house/docker.yaml +++ b/ansible/inventory/host_vars/kodi00.balsillie.house/docker.yaml @@ -23,7 +23,7 @@ docker_volumes: driver: local driver_options: type: none - device: /media/nvme/downloads + device: /downloads o: bind - name: torrent-config driver: local @@ -78,4 +78,4 @@ docker_containers: net.ipv6.conf.all.disable_ipv6: 1 volumes: - torrent-config:/config:rw - - torrent-data:/data:rw + - torrent-data:/downloads:rw diff --git a/ansible/inventory/host_vars/kodi00.balsillie.house/torrent.yaml b/ansible/inventory/host_vars/kodi00.balsillie.house/torrent.yaml index 9f2dbea..8923fa4 100644 --- a/ansible/inventory/host_vars/kodi00.balsillie.house/torrent.yaml +++ b/ansible/inventory/host_vars/kodi00.balsillie.house/torrent.yaml @@ -1,5 +1,5 @@ torrent_user: kodi -torrent_downloads_dir: /media/nvme/downloads +torrent_downloads_dir: /downloads torrent_wireguard_address: 10.2.0.2 torrent_wireguard_dns: 10.2.0.1 diff --git a/ansible/playbooks/infra/kodi.yaml b/ansible/playbooks/infra/kodi.yaml index a0abf45..6b72b11 100644 --- a/ansible/playbooks/infra/kodi.yaml +++ b/ansible/playbooks/infra/kodi.yaml @@ -12,4 +12,4 @@ # - role: aur_repo_client # - role: arr - role: torrent - - role: sonarr \ No newline at end of file + # - role: sonarr diff --git a/ansible/roles/docker/tasks/main.yaml b/ansible/roles/docker/tasks/main.yaml index f47fca4..019ee39 100644 --- a/ansible/roles/docker/tasks/main.yaml +++ b/ansible/roles/docker/tasks/main.yaml @@ -41,7 +41,7 @@ - docker_volumes | length > 0 community.general.docker_volume: driver: "{{ item.driver | default('local') }}" - # driver_options: "{{ item.driver_options | default({}) }}" + driver_options: "{{ item.driver_options | default({}) }}" recreate: "never" state: "present" volume_name: "{{ item.name }}"