mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 11:03:07 +00:00
Merge branch 'l3rady-sickrage-to-sickchill'
* l3rady-sickrage-to-sickchill: Allow sickchill downloads path to be fully managed by sickchill_downloads_directory variable Remove old sickrage container first but keep volumes to allow migration Rename sickrage task to sickchill Change all text instances of sickrage to sickchill
This commit is contained in:
commit
2165b93f72
8 changed files with 56 additions and 50 deletions
|
@ -10,7 +10,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co
|
|||
* An awesome dashboard to your home server (Heimdall)
|
||||
* Any number of Samba shares or NFS exports for you to store your stuff
|
||||
* A BitTorrent client
|
||||
* Various media management tools - Sonarr, Sickrage, CouchPotato, Radarr
|
||||
* Various media management tools - Sonarr, Sickchill, CouchPotato, Radarr
|
||||
* Media streaming via Plex or Emby
|
||||
* Music streaming with Airsonic
|
||||
* An RSS newsfeed reader - Miniflux
|
||||
|
@ -47,7 +47,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co
|
|||
* [Plex](https://www.plex.tv/) - Plex Media Server
|
||||
* [Portainer](https://portainer.io/) - for managing Docker and running custom images
|
||||
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
||||
* [Sickrage](https://sickrage.github.io/) - for managing TV episodes
|
||||
* [Sickchill](https://sickchill.github.io/) - for managing TV episodes
|
||||
* [Sonarr](https://sonarr.tv/) - for downloading and managing TV episodes
|
||||
* [Tautulli](http://tautulli.com/) - Monitor Your Plex Media Server
|
||||
* [Telegraf](https://github.com/influxdata/telegraf) - Metrics collection agent
|
||||
|
|
|
@ -26,11 +26,11 @@ By default, applications can be found on the ports listed below.
|
|||
| Plex | 32400 | |
|
||||
| Portainer | 9000 | |
|
||||
| Radarr | 7878 | |
|
||||
| Sickrage | 8081 | |
|
||||
| Sickchill | 8081 | |
|
||||
| Sonarr | 8989 | |
|
||||
| Tautulli | 8181 | |
|
||||
| The Lounge | 9000 | |
|
||||
| Traefik | 8083 | |
|
||||
| Transmission | 9091 | with VPN |
|
||||
| Transmission | 9092 | |
|
||||
| ZNC | 6677 | |
|
||||
| ZNC | 6677 | |
|
||||
|
|
|
@ -9,7 +9,7 @@ Ansible config and a bunch of Docker containers. Ansible-NAS was born!
|
|||
* An awesome dashboard to your home server (Heimdall)
|
||||
* Any number of Samba shares for you to store your stuff
|
||||
* A BitTorrent client
|
||||
* Various media management tools - Sonarr, Sickrage, CouchPotato, Radarr
|
||||
* Various media management tools - Sonarr, Sickchill, CouchPotato, Radarr
|
||||
* Media streaming via Plex, Emby or MiniDLNA
|
||||
* Music streaming with Airsonic
|
||||
* A Dropbox replacement via Nextcloud
|
||||
|
|
|
@ -28,7 +28,7 @@ minidlna_enabled: false
|
|||
|
||||
# Media Sourcing
|
||||
sonarr_enabled: false
|
||||
sickrage_enabled: false
|
||||
sickchill_enabled: false
|
||||
couchpotato_enabled: false
|
||||
radarr_enabled: false
|
||||
get_iplayer_enabled: false
|
||||
|
@ -355,14 +355,14 @@ couchpotato_group_id: 0
|
|||
|
||||
|
||||
###
|
||||
### Sickrage
|
||||
### Sickchill
|
||||
###
|
||||
sickrage_available_externally: "false"
|
||||
sickrage_config_directory: "{{ docker_home }}/sickrage/config"
|
||||
sickrage_tv_directory: "{{ tv_root }}"
|
||||
sickrage_downloads_directory: "{{ downloads_root }}"
|
||||
sickrage_user_id: 0
|
||||
sickrage_group_id: 0
|
||||
sickchill_available_externally: "false"
|
||||
sickchill_config_directory: "{{ docker_home }}/sickchill/config"
|
||||
sickchill_tv_directory: "{{ tv_root }}"
|
||||
sickchill_downloads_directory: "{{ downloads_root }}/completed"
|
||||
sickchill_user_id: 0
|
||||
sickchill_group_id: 0
|
||||
|
||||
###
|
||||
### Netdata
|
||||
|
|
8
nas.yml
8
nas.yml
|
@ -92,9 +92,9 @@
|
|||
when: (couchpotato_enabled | default(False))
|
||||
tags: couchpotato
|
||||
|
||||
- import_tasks: tasks/sickrage.yml
|
||||
when: (sickrage_enabled | default(False))
|
||||
tags: sickrage
|
||||
- import_tasks: tasks/sickchill.yml
|
||||
when: (sickchill_enabled | default(False))
|
||||
tags: sickchill
|
||||
|
||||
- import_tasks: tasks/znc.yml
|
||||
when: (znc_enabled | default(False))
|
||||
|
@ -150,4 +150,4 @@
|
|||
|
||||
- import_tasks: tasks/bitwarden.yml
|
||||
when: (bitwarden_enabled | default(False))
|
||||
tags: bitwarden
|
||||
tags: bitwarden
|
||||
|
|
37
tasks/sickchill.yml
Normal file
37
tasks/sickchill.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
- name: Remove Old Sickrage Docker Container
|
||||
docker_container:
|
||||
name: sickrage
|
||||
state: absent
|
||||
keep_volumes: true
|
||||
|
||||
- name: Create Sickchill Directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
# mode: 0755
|
||||
with_items:
|
||||
- "{{ sickchill_config_directory }}"
|
||||
|
||||
- name: Sickchill Docker Container
|
||||
docker_container:
|
||||
name: sickchill
|
||||
image: linuxserver/sickchill
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ sickchill_config_directory }}:/config:rw"
|
||||
- "{{ sickchill_downloads_directory }}:/downloads:rw"
|
||||
- "{{ sickchill_tv_directory }}:/tv:rw"
|
||||
ports:
|
||||
- "8081:8081"
|
||||
env:
|
||||
TZ: "{{ ansible_nas_timezone }}"
|
||||
PUID: "{{ sickchill_user_id }}"
|
||||
PGID: "{{ sickchill_group_id }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: 1g
|
||||
labels:
|
||||
traefik.backend: "sickchill"
|
||||
traefik.frontend.rule: "Host:sickchill.{{ ansible_nas_domain }}"
|
||||
traefik.enable: "{{ sickchill_available_externally }}"
|
||||
traefik.port: "8081"
|
|
@ -1,31 +0,0 @@
|
|||
---
|
||||
- name: Create Sickrage Directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
# mode: 0755
|
||||
with_items:
|
||||
- "{{ sickrage_config_directory }}"
|
||||
|
||||
- name: Sickrage Docker Container
|
||||
docker_container:
|
||||
name: sickrage
|
||||
image: linuxserver/sickrage
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ sickrage_config_directory }}:/config:rw"
|
||||
- "{{ sickrage_downloads_directory }}/completed:/downloads:rw"
|
||||
- "{{ sickrage_tv_directory }}:/tv:rw"
|
||||
ports:
|
||||
- "8081:8081"
|
||||
env:
|
||||
TZ: "{{ ansible_nas_timezone }}"
|
||||
PUID: "{{ sickrage_user_id }}"
|
||||
PGID: "{{ sickrage_group_id }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: 1g
|
||||
labels:
|
||||
traefik.backend: "sickrage"
|
||||
traefik.frontend.rule: "Host:sickrage.{{ ansible_nas_domain }}"
|
||||
traefik.enable: "{{ sickrage_available_externally }}"
|
||||
traefik.port: "8081"
|
|
@ -196,10 +196,10 @@ onDemand = false # create certificate when container is created
|
|||
"plex.{{ ansible_nas_domain }}",
|
||||
"portainer.{{ ansible_nas_domain }}",
|
||||
"radarr.{{ ansible_nas_domain }}",
|
||||
"sickrage.{{ ansible_nas_domain }}",
|
||||
"sickchill.{{ ansible_nas_domain }}",
|
||||
"sonarr.{{ ansible_nas_domain }}",
|
||||
"tautulli.{{ ansible_nas_domain }}",
|
||||
"thelounge.{{ ansible_nas_domain }}",
|
||||
"transmission.{{ ansible_nas_domain }}",
|
||||
"transmission-openvpn.{{ ansible_nas_domain }}",
|
||||
"znc.{{ ansible_nas_domain }}"]
|
||||
"znc.{{ ansible_nas_domain }}"]
|
||||
|
|
Loading…
Reference in a new issue