Skip to content

Commit

Permalink
qbittorrent: add missing WebUI\ReverseProxySupportEnabled toggle and …
Browse files Browse the repository at this point in the history
…fix task names
  • Loading branch information
saltydk committed Jan 26, 2024
1 parent e6a9b0c commit dcfca49
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
12 changes: 12 additions & 0 deletions roles/qbittorrent/tasks/subtasks/post-install/settings/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@
group: "{{ user.name }}"
mode: "0775"

- name: Post-Install | Settings | Update WebUI\ReverseProxySupportEnabled 'qBittorrent.conf' config settings
community.general.ini_file:
path: "{{ qbittorrent_paths_conf }}"
section: Preferences
option: WebUI\ReverseProxySupportEnabled
value: "true"
no_extra_spaces: true
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"

- name: Post-Install | Settings | Update FileLogger\Enabled 'qBittorrent.conf' config settings
community.general.ini_file:
path: "{{ qbittorrent_paths_conf }}"
Expand Down
18 changes: 15 additions & 3 deletions roles/qbittorrent/tasks/subtasks/pre-install/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
group: "{{ user.name }}"
mode: "0775"

- name: Post-Install | Settings | Update WebUI\TrustedReverseProxiesList 'qBittorrent.conf' config settings
- name: Pre-Install | Settings | Update WebUI\TrustedReverseProxiesList 'qBittorrent.conf' config settings
community.general.ini_file:
path: "{{ qbittorrent_paths_conf }}"
section: Preferences
Expand All @@ -151,7 +151,19 @@
group: "{{ user.name }}"
mode: "0775"

- name: Post-Install | Settings | Update FileLogger\Enabled 'qBittorrent.conf' config settings
- name: Pre-Install | Settings | Update WebUI\ReverseProxySupportEnabled 'qBittorrent.conf' config settings
community.general.ini_file:
path: "{{ qbittorrent_paths_conf }}"
section: Preferences
option: WebUI\ReverseProxySupportEnabled
value: "true"
no_extra_spaces: true
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"

- name: Pre-Install | Settings | Update FileLogger\Enabled 'qBittorrent.conf' config settings
community.general.ini_file:
path: "{{ qbittorrent_paths_conf }}"
section: Application
Expand All @@ -163,7 +175,7 @@
group: "{{ user.name }}"
mode: "0775"

- name: Post-Install | Settings | Update FileLogger\Path 'qBittorrent.conf' config settings
- name: Pre-Install | Settings | Update FileLogger\Path 'qBittorrent.conf' config settings
community.general.ini_file:
path: "{{ qbittorrent_paths_conf }}"
section: Application
Expand Down

0 comments on commit dcfca49

Please sign in to comment.