Compare commits
9 Commits
master
...
9d16b1efd1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d16b1efd1 | ||
|
|
3cd6580dd9 | ||
|
|
76029b6102 | ||
|
|
a9bf973dc5 | ||
|
|
d9b568058b | ||
|
|
58e5dd177e | ||
|
|
9ef90db07b | ||
|
|
458506e798 | ||
|
|
874c759f85 |
11
ansible/roles/btc/tasks/bitcoin.yml
Normal file
11
ansible/roles/btc/tasks/bitcoin.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
- name: Install bitcoin daemon
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: bitcoin-daemon
|
||||||
|
state: present
|
||||||
|
become: true
|
||||||
|
|
||||||
|
- name: Enable bitcoind
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: bitcoind
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
6
ansible/roles/btc/tasks/tor.yml
Normal file
6
ansible/roles/btc/tasks/tor.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
- name: Install tor
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: tor
|
||||||
|
state: present
|
||||||
|
|
||||||
|
|
||||||
32
ansible/roles/btc/tasks/ufw.yml
Normal file
32
ansible/roles/btc/tasks/ufw.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
- name: Install Uncomplicated Firewall
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: ufw
|
||||||
|
state: present
|
||||||
|
|
||||||
|
# UFW logging can full up the kernel (dmesg) and message logs
|
||||||
|
- name: Disable logging
|
||||||
|
community.general.ufw:
|
||||||
|
logging: 'off'
|
||||||
|
|
||||||
|
- name: Allow OpenSSH inbound
|
||||||
|
community.general.ufw:
|
||||||
|
rule: allow
|
||||||
|
name: OpenSSH # Uses standard profile located in /etc/ufw/applications.d
|
||||||
|
|
||||||
|
- name: Apply rate limiting to ssh inbound
|
||||||
|
community.general.ufw:
|
||||||
|
rule: limit
|
||||||
|
port: ssh
|
||||||
|
proto: tcp
|
||||||
|
|
||||||
|
- name: Enable ufw system service
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: ufw
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
|
# This is necessary in addition to enabling the system service
|
||||||
|
- name: Enable ufw rules
|
||||||
|
community.general.ufw:
|
||||||
|
state: enabled
|
||||||
|
policy: deny
|
||||||
@@ -30,7 +30,6 @@
|
|||||||
dest: "{{ data_dir }}/qbitmanage/config.yml"
|
dest: "{{ data_dir }}/qbitmanage/config.yml"
|
||||||
owner: "{{ service_user.uid }}"
|
owner: "{{ service_user.uid }}"
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
notify: restart qbittorrent
|
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Create cross-seed config directory
|
- name: Create cross-seed config directory
|
||||||
@@ -47,7 +46,6 @@
|
|||||||
dest: "{{ data_dir }}/cross-seed/config.js"
|
dest: "{{ data_dir }}/cross-seed/config.js"
|
||||||
owner: "{{ service_user.uid }}"
|
owner: "{{ service_user.uid }}"
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
notify: restart qbittorrent
|
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Start docker containers
|
- name: Start docker containers
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ module.exports = {
|
|||||||
"http://prowlarr.local.{{ personal_domain }}/6/api?apikey={{ prowlarr_api_key }}", // Aither
|
"http://prowlarr.local.{{ personal_domain }}/6/api?apikey={{ prowlarr_api_key }}", // Aither
|
||||||
"http://prowlarr.local.{{ personal_domain }}/7/api?apikey={{ prowlarr_api_key }}", // Reelflix
|
"http://prowlarr.local.{{ personal_domain }}/7/api?apikey={{ prowlarr_api_key }}", // Reelflix
|
||||||
"http://prowlarr.local.{{ personal_domain }}/9/api?apikey={{ prowlarr_api_key }}", // LST
|
"http://prowlarr.local.{{ personal_domain }}/9/api?apikey={{ prowlarr_api_key }}", // LST
|
||||||
|
"http://prowlarr.local.{{ personal_domain }}/10/api?apikey={{ prowlarr_api_key }}", // MyAnonaMouse
|
||||||
"http://prowlarr.local.{{ personal_domain }}/12/api?apikey={{ prowlarr_api_key }}", // Blutopia
|
"http://prowlarr.local.{{ personal_domain }}/12/api?apikey={{ prowlarr_api_key }}", // Blutopia
|
||||||
"http://prowlarr.local.{{ personal_domain }}/13/api?apikey={{ prowlarr_api_key }}", // hawke-uno
|
"http://prowlarr.local.{{ personal_domain }}/13/api?apikey={{ prowlarr_api_key }}", // hawke-uno
|
||||||
"http://prowlarr.local.{{ personal_domain }}/16/api?apikey={{ prowlarr_api_key }}", // AlphaRatio
|
"http://prowlarr.local.{{ personal_domain }}/16/api?apikey={{ prowlarr_api_key }}", // AlphaRatio
|
||||||
@@ -15,6 +16,7 @@ module.exports = {
|
|||||||
"http://prowlarr.local.{{ personal_domain }}/19/api?apikey={{ prowlarr_api_key }}", // Cathode-Ray.Tube
|
"http://prowlarr.local.{{ personal_domain }}/19/api?apikey={{ prowlarr_api_key }}", // Cathode-Ray.Tube
|
||||||
"http://prowlarr.local.{{ personal_domain }}/25/api?apikey={{ prowlarr_api_key }}", // seedpool
|
"http://prowlarr.local.{{ personal_domain }}/25/api?apikey={{ prowlarr_api_key }}", // seedpool
|
||||||
"http://prowlarr.local.{{ personal_domain }}/27/api?apikey={{ prowlarr_api_key }}", // Upload.cx
|
"http://prowlarr.local.{{ personal_domain }}/27/api?apikey={{ prowlarr_api_key }}", // Upload.cx
|
||||||
|
"http://prowlarr.local.{{ personal_domain }}/30/api?apikey={{ prowlarr_api_key }}", // DocsPedia
|
||||||
],
|
],
|
||||||
|
|
||||||
outputDir: null,
|
outputDir: null,
|
||||||
@@ -24,8 +26,7 @@ module.exports = {
|
|||||||
excludeOlder: "12w",
|
excludeOlder: "12w",
|
||||||
excludeRecentSearch: "3w",
|
excludeRecentSearch: "3w",
|
||||||
action: "inject",
|
action: "inject",
|
||||||
rtorrentRpcUrl: undefined,
|
torrentClients: ["qbittorrent:https://admin:password@qbittorrent.local.{{ personal_domain }}"],
|
||||||
qbittorrentUrl: "https://qbittorrent.local.{{ personal_domain }}",
|
|
||||||
sonarr: ["https://sonarr.local.{{ personal_domain }}/?apikey={{ sonarr_api_key }}"],
|
sonarr: ["https://sonarr.local.{{ personal_domain }}/?apikey={{ sonarr_api_key }}"],
|
||||||
radarr: ["https://radarr.local.{{ personal_domain }}/?apikey={{ radarr_api_key }}"],
|
radarr: ["https://radarr.local.{{ personal_domain }}/?apikey={{ radarr_api_key }}"],
|
||||||
seasonsFromEpisodes: 0.8,
|
seasonsFromEpisodes: 0.8,
|
||||||
@@ -36,4 +37,7 @@ module.exports = {
|
|||||||
port: 2468,
|
port: 2468,
|
||||||
rssCadence: "16min",
|
rssCadence: "16min",
|
||||||
searchCadence: "1w",
|
searchCadence: "1w",
|
||||||
|
blockList: [
|
||||||
|
"category:upload",
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- "PGID={{ media_gid }}"
|
- "PGID={{ media_gid }}"
|
||||||
- "TZ={{ timezone }}"
|
- "TZ={{ timezone }}"
|
||||||
- "UMASK=002"
|
- "UMASK=002"
|
||||||
#- DOCKER_MODS=arafatamim/linuxserver-io-mod-vuetorrent
|
- DOCKER_MODS=arafatamim/linuxserver-io-mod-vuetorrent
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/{{ role_name }}:/config"
|
- "{{ data_dir }}/{{ role_name }}:/config"
|
||||||
- "{{ media_storage_mnt }}/data/torrents:/data/torrents"
|
- "{{ media_storage_mnt }}/data/torrents:/data/torrents"
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ tracker:
|
|||||||
tag: rutracker
|
tag: rutracker
|
||||||
seedpool|seedpool.org:
|
seedpool|seedpool.org:
|
||||||
tag: seedpool
|
tag: seedpool
|
||||||
upload.cx:
|
upload:
|
||||||
tag: ULCX
|
tag: ULCX
|
||||||
archlinux:
|
archlinux:
|
||||||
tag: archlinux
|
tag: archlinux
|
||||||
|
|||||||
@@ -108,3 +108,9 @@ custom_formats:
|
|||||||
assign_scores_to:
|
assign_scores_to:
|
||||||
- name: Anime
|
- name: Anime
|
||||||
score: 10 # Prefer dual audio within the same tier but don't prefer over higher quality releases
|
score: 10 # Prefer dual audio within the same tier but don't prefer over higher quality releases
|
||||||
|
|
||||||
|
- trash_ids:
|
||||||
|
- 3bc5f395426614e155e585a2f056cdf1 # Season Pack
|
||||||
|
assign_scores_to:
|
||||||
|
- name: Anime
|
||||||
|
score: 10 # Prefer season packs over single episode releases
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ custom_formats:
|
|||||||
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
||||||
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
||||||
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
||||||
|
- ae575f95ab639ba5d15f663bf019e3e8 # Not Original Language
|
||||||
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
||||||
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
||||||
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ custom_formats:
|
|||||||
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
||||||
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
||||||
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
||||||
|
- ae575f95ab639ba5d15f663bf019e3e8 # Not Original Language
|
||||||
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
||||||
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
||||||
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ custom_formats:
|
|||||||
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
||||||
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
||||||
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
||||||
|
- ae575f95ab639ba5d15f663bf019e3e8 # Not Original Language
|
||||||
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
||||||
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
||||||
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ custom_formats:
|
|||||||
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
||||||
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
||||||
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
||||||
|
- ae575f95ab639ba5d15f663bf019e3e8 # Not Original Language
|
||||||
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
||||||
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
||||||
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ custom_formats:
|
|||||||
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
||||||
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
||||||
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
||||||
|
- ae575f95ab639ba5d15f663bf019e3e8 # Not Original Language
|
||||||
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
||||||
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
||||||
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ custom_formats:
|
|||||||
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
- fbcb31d8dabd2a319072b84fc0b7249c # Extras
|
||||||
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
- 15a05bc7c1a36e2b57fd628f8977e2fc # AV1
|
||||||
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
- 32b367365729d530ca1c124a0b180c64 # Bad Dual Groups
|
||||||
|
- ae575f95ab639ba5d15f663bf019e3e8 # Not Original Language
|
||||||
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
- 82d40da2bc6923f41e14394075dd4b03 # No-RlsGroup
|
||||||
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
- e1a997ddb54e3ecbfe06341ad323c458 # Obfuscated
|
||||||
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
- 06d66ab109d4d2eddb2794d21526d140 # Retags
|
||||||
|
|||||||
Reference in New Issue
Block a user