mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
plexpy -> tautulli
This commit is contained in:
parent
32888a7038
commit
b3da0bd6f9
5 changed files with 55 additions and 37 deletions
|
@ -24,7 +24,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of docker co
|
||||||
- [InfluxDB](https://github.com/influxdata/influxdb) - Time series database used for stats collection
|
- [InfluxDB](https://github.com/influxdata/influxdb) - Time series database used for stats collection
|
||||||
- [Nextcloud](https://nextcloud.com/) - A self-hosted Dropbox alternative
|
- [Nextcloud](https://nextcloud.com/) - A self-hosted Dropbox alternative
|
||||||
- [Plex](https://www.plex.tv/) Plex Media Server
|
- [Plex](https://www.plex.tv/) Plex Media Server
|
||||||
- [Plexpy](http://tautulli.com/) Monitor Your Plex Media Server
|
- [Tautulli](http://tautulli.com/) Monitor Your Plex Media Server
|
||||||
- [Portainer](https://portainer.io/) for managing Docker and running custom images
|
- [Portainer](https://portainer.io/) for managing Docker and running custom images
|
||||||
- [Radarr](https://radarr.video/) for organising and downloading movies
|
- [Radarr](https://radarr.video/) for organising and downloading movies
|
||||||
- [Sickrage](https://sickrage.github.io/) for managing TV episodes
|
- [Sickrage](https://sickrage.github.io/) for managing TV episodes
|
||||||
|
|
|
@ -11,7 +11,7 @@ transmission_enabled: false
|
||||||
|
|
||||||
# Plex
|
# Plex
|
||||||
plex_enabled: false
|
plex_enabled: false
|
||||||
plexpy_enabled: false
|
tautulli_enabled: false
|
||||||
|
|
||||||
|
|
||||||
# Media Sourcing
|
# Media Sourcing
|
||||||
|
@ -138,6 +138,24 @@ transmission_group_id: 0
|
||||||
transmission_local_network: "192.168.1.0/24"
|
transmission_local_network: "192.168.1.0/24"
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Plex
|
||||||
|
###
|
||||||
|
plex_config_directory: "{{ docker_home }}/plex/config"
|
||||||
|
plex_movies_directory: "{{ movies_root }}"
|
||||||
|
plex_tv_directory: "{{ tv_root }}"
|
||||||
|
plex_user_id: 0
|
||||||
|
plex_group_id: 0
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Tautulli
|
||||||
|
###
|
||||||
|
tautulli_config_directory: "{{ docker_home }}/tautulli/config"
|
||||||
|
tautulli_user_id: 0
|
||||||
|
tautulli_group_id: 0
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Duplicati
|
### Duplicati
|
||||||
###
|
###
|
||||||
|
|
6
nas.yml
6
nas.yml
|
@ -13,9 +13,9 @@
|
||||||
when: plex_enabled == true
|
when: plex_enabled == true
|
||||||
tags: plex
|
tags: plex
|
||||||
|
|
||||||
- import_tasks: tasks/plexpy.yml
|
- import_tasks: tasks/tautulli.yml
|
||||||
when: plexpy_enabled == true
|
when: tautulli_enabled == true
|
||||||
tags: plexpy
|
tags: tautulli
|
||||||
|
|
||||||
- import_tasks: tasks/transmission.yml
|
- import_tasks: tasks/transmission.yml
|
||||||
when: transmission_enabled == true
|
when: transmission_enabled == true
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
- name: Create Plexpy Directories
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
# mode: 0755
|
|
||||||
with_items:
|
|
||||||
- "{{ plexpy_config_directory }}"
|
|
||||||
|
|
||||||
- name: plexpy Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: plexpy
|
|
||||||
image: linuxserver/plexpy
|
|
||||||
pull: true
|
|
||||||
volumes:
|
|
||||||
- "{{ plexpy_config_directory }}:/config:rw"
|
|
||||||
- "/etc/timezone:/etc/timezone:ro"
|
|
||||||
network_mode: "host"
|
|
||||||
env:
|
|
||||||
PUID: "{{ plexpy_user_id }}"
|
|
||||||
PGID: "{{ plexpy_group_id }}"
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
memory: 1g
|
|
22
tasks/tautulli.yml
Normal file
22
tasks/tautulli.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
- name: Create Tautulli Directories
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
# mode: 0755
|
||||||
|
with_items:
|
||||||
|
- "{{ tautulli_config_directory }}"
|
||||||
|
|
||||||
|
- name: Tautulli Docker Container
|
||||||
|
docker_container:
|
||||||
|
name: tautulli
|
||||||
|
image: linuxserver/tautulli
|
||||||
|
pull: true
|
||||||
|
volumes:
|
||||||
|
- "{{ tautulli_config_directory }}:/config:rw"
|
||||||
|
- "/etc/timezone:/etc/timezone:ro"
|
||||||
|
network_mode: "host"
|
||||||
|
env:
|
||||||
|
PUID: "{{ tautulli_user_id }}"
|
||||||
|
PGID: "{{ tautulli_group_id }}"
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
memory: 1g
|
Loading…
Reference in a new issue