From 1b0cc0aa176d27cf685cd3f83bf4dd03eb593c69 Mon Sep 17 00:00:00 2001 From: ChaosZero112 Date: Sat, 15 Jun 2019 13:21:55 -0400 Subject: [PATCH] Update config path --- apps/qbittorrent-vpn.yml | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/apps/qbittorrent-vpn.yml b/apps/qbittorrent-vpn.yml index edb0d85..b84a794 100644 --- a/apps/qbittorrent-vpn.yml +++ b/apps/qbittorrent-vpn.yml @@ -77,7 +77,7 @@ # MAIN DEPLOYMENT ############################################################# - name: 'Checking for existing app data' stat: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' register: confcheck - name: 'Deploying {{pgrole}}' @@ -109,7 +109,7 @@ # CONFIGURATION #################################################### - name: 'Waiting for {{pgrole}} to initialize' wait_for: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' state: present timeout: 15 delay: 5 @@ -121,7 +121,7 @@ - name: Set SavePath ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Downloads\SavePath value: '{{path.stdout}}/downloads/{{pgrole}}' @@ -130,7 +130,7 @@ - name: Set TempPathEnabled ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Downloads\TempPathEnabled value: True @@ -141,7 +141,7 @@ block: - name: Enable AutoRun ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: AutoRun option: enabled value: True @@ -149,7 +149,7 @@ - name: Enable Auto UnRar ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: AutoRun option: program value: '/usr/bin/unrar x -r \"%F/.\" \"%F/\"' @@ -157,7 +157,7 @@ - name: Disable DHT ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\DHT value: false @@ -165,7 +165,7 @@ - name: Disable PeX ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\PeX value: false @@ -173,7 +173,7 @@ - name: Disable LSD ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\LSD value: false @@ -181,7 +181,7 @@ - name: Enable Encryption ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\Encryption value: 1 @@ -189,63 +189,63 @@ - name: Don't use incomplete extension ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Downloads\UseIncompleteExtension value: false state: present - name: Ignore slow torrents ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\IgnoreSlowTorrents value: True state: present - name: Set MaxActiveDownloads ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\MaxActiveDownloads value: 10 state: present - name: Set MaxActiveTorrents ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\MaxActiveTorrents value: 100 state: present - name: Set MaxActiveUploads ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Queueing\MaxActiveUploads value: 100 state: present - name: Set GlobalMaxSeedingMinutes ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: BitTorrent option: Session\GlobalMaxSeedingMinutes value: 20160 state: present - name: Set MaxRatio ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\MaxRatio value: 1 state: present - name: pause on MaxRatioAction ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: Bittorrent\MaxRatioAction value: 1 state: present - name: Disable csrf ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\CSRFProtection value: false @@ -253,7 +253,7 @@ state: present - name: Disable HostHeaderValidation ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\HostHeaderValidation value: false @@ -261,7 +261,7 @@ state: present - name: Disable ClickjackingProtection ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\ClickjackingProtection value: false @@ -270,7 +270,7 @@ - name: Set ServerDomains ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\ServerDomains value: '*' @@ -278,7 +278,7 @@ state: present - name: Set Address ini_file: - path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf' + path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf' section: Preferences option: WebUI\Address value: '*'