mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-08 05:31:59 +00:00
Update config path
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
# MAIN DEPLOYMENT #############################################################
|
# MAIN DEPLOYMENT #############################################################
|
||||||
- name: 'Checking for existing app data'
|
- name: 'Checking for existing app data'
|
||||||
stat:
|
stat:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
register: confcheck
|
register: confcheck
|
||||||
|
|
||||||
- name: 'Deploying {{pgrole}}'
|
- name: 'Deploying {{pgrole}}'
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
# CONFIGURATION ####################################################
|
# CONFIGURATION ####################################################
|
||||||
- name: 'Waiting for {{pgrole}} to initialize'
|
- name: 'Waiting for {{pgrole}} to initialize'
|
||||||
wait_for:
|
wait_for:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
state: present
|
state: present
|
||||||
timeout: 15
|
timeout: 15
|
||||||
delay: 5
|
delay: 5
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
|
|
||||||
- name: Set SavePath
|
- name: Set SavePath
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Downloads\SavePath
|
option: Downloads\SavePath
|
||||||
value: '{{path.stdout}}/downloads/{{pgrole}}'
|
value: '{{path.stdout}}/downloads/{{pgrole}}'
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
- name: Set TempPathEnabled
|
- name: Set TempPathEnabled
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Downloads\TempPathEnabled
|
option: Downloads\TempPathEnabled
|
||||||
value: True
|
value: True
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
block:
|
block:
|
||||||
- name: Enable AutoRun
|
- name: Enable AutoRun
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: AutoRun
|
section: AutoRun
|
||||||
option: enabled
|
option: enabled
|
||||||
value: True
|
value: True
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
|
|
||||||
- name: Enable Auto UnRar
|
- name: Enable Auto UnRar
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: AutoRun
|
section: AutoRun
|
||||||
option: program
|
option: program
|
||||||
value: '/usr/bin/unrar x -r \"%F/.\" \"%F/\"'
|
value: '/usr/bin/unrar x -r \"%F/.\" \"%F/\"'
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
|
|
||||||
- name: Disable DHT
|
- name: Disable DHT
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Bittorrent\DHT
|
option: Bittorrent\DHT
|
||||||
value: false
|
value: false
|
||||||
@@ -165,7 +165,7 @@
|
|||||||
|
|
||||||
- name: Disable PeX
|
- name: Disable PeX
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Bittorrent\PeX
|
option: Bittorrent\PeX
|
||||||
value: false
|
value: false
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
- name: Disable LSD
|
- name: Disable LSD
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Bittorrent\LSD
|
option: Bittorrent\LSD
|
||||||
value: false
|
value: false
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
|
|
||||||
- name: Enable Encryption
|
- name: Enable Encryption
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Bittorrent\Encryption
|
option: Bittorrent\Encryption
|
||||||
value: 1
|
value: 1
|
||||||
@@ -189,63 +189,63 @@
|
|||||||
|
|
||||||
- name: Don't use incomplete extension
|
- name: Don't use incomplete extension
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Downloads\UseIncompleteExtension
|
option: Downloads\UseIncompleteExtension
|
||||||
value: false
|
value: false
|
||||||
state: present
|
state: present
|
||||||
- name: Ignore slow torrents
|
- name: Ignore slow torrents
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Queueing\IgnoreSlowTorrents
|
option: Queueing\IgnoreSlowTorrents
|
||||||
value: True
|
value: True
|
||||||
state: present
|
state: present
|
||||||
- name: Set MaxActiveDownloads
|
- name: Set MaxActiveDownloads
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Queueing\MaxActiveDownloads
|
option: Queueing\MaxActiveDownloads
|
||||||
value: 10
|
value: 10
|
||||||
state: present
|
state: present
|
||||||
- name: Set MaxActiveTorrents
|
- name: Set MaxActiveTorrents
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Queueing\MaxActiveTorrents
|
option: Queueing\MaxActiveTorrents
|
||||||
value: 100
|
value: 100
|
||||||
state: present
|
state: present
|
||||||
- name: Set MaxActiveUploads
|
- name: Set MaxActiveUploads
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Queueing\MaxActiveUploads
|
option: Queueing\MaxActiveUploads
|
||||||
value: 100
|
value: 100
|
||||||
state: present
|
state: present
|
||||||
- name: Set GlobalMaxSeedingMinutes
|
- name: Set GlobalMaxSeedingMinutes
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: BitTorrent
|
section: BitTorrent
|
||||||
option: Session\GlobalMaxSeedingMinutes
|
option: Session\GlobalMaxSeedingMinutes
|
||||||
value: 20160
|
value: 20160
|
||||||
state: present
|
state: present
|
||||||
- name: Set MaxRatio
|
- name: Set MaxRatio
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Bittorrent\MaxRatio
|
option: Bittorrent\MaxRatio
|
||||||
value: 1
|
value: 1
|
||||||
state: present
|
state: present
|
||||||
- name: pause on MaxRatioAction
|
- name: pause on MaxRatioAction
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: Bittorrent\MaxRatioAction
|
option: Bittorrent\MaxRatioAction
|
||||||
value: 1
|
value: 1
|
||||||
state: present
|
state: present
|
||||||
- name: Disable csrf
|
- name: Disable csrf
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: WebUI\CSRFProtection
|
option: WebUI\CSRFProtection
|
||||||
value: false
|
value: false
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: Disable HostHeaderValidation
|
- name: Disable HostHeaderValidation
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: WebUI\HostHeaderValidation
|
option: WebUI\HostHeaderValidation
|
||||||
value: false
|
value: false
|
||||||
@@ -261,7 +261,7 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: Disable ClickjackingProtection
|
- name: Disable ClickjackingProtection
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: WebUI\ClickjackingProtection
|
option: WebUI\ClickjackingProtection
|
||||||
value: false
|
value: false
|
||||||
@@ -270,7 +270,7 @@
|
|||||||
|
|
||||||
- name: Set ServerDomains
|
- name: Set ServerDomains
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: WebUI\ServerDomains
|
option: WebUI\ServerDomains
|
||||||
value: '*'
|
value: '*'
|
||||||
@@ -278,7 +278,7 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: Set Address
|
- name: Set Address
|
||||||
ini_file:
|
ini_file:
|
||||||
path: '/opt/appdata/{{pgrole}}/qBittorrent/qBittorrent.conf'
|
path: '/opt/appdata/{{pgrole}}/qBittorrent/config/qBittorrent.conf'
|
||||||
section: Preferences
|
section: Preferences
|
||||||
option: WebUI\Address
|
option: WebUI\Address
|
||||||
value: '*'
|
value: '*'
|
||||||
|
|||||||
Reference in New Issue
Block a user