2022-07-05 23:07:45 +00:00
|
|
|
Media Server
|
|
|
|
============
|
2022-06-06 22:43:02 +00:00
|
|
|
|
2022-07-05 23:07:45 +00:00
|
|
|
A series of docker containers to allow full automation of media management.
|
2022-06-06 22:43:02 +00:00
|
|
|
|
|
|
|
Role Variables
|
|
|
|
--------------
|
|
|
|
|
2022-07-05 23:07:45 +00:00
|
|
|
| Variable | Description | Required | Default |
|
|
|
|
| ----------------- | --------------------------------------------------- | :------: | ------- |
|
|
|
|
| `TZ` | Timezone | - [ ] | `America/New_York` |
|
|
|
|
| `PUID` | User ID | - [ ] | `1000` |
|
|
|
|
| `PGID` | Group ID | - [ ] | `1000` |
|
|
|
|
| `DISK_UUID` | UUID of disk holding media | - [x] | |
|
|
|
|
| `DOWNLOAD_FOLDER` | Folder where completed torrents are downloaded | - [ ] | `/mnt/downloads` |
|
|
|
|
| `CONFIG_FOLDER` | Folder containing all persistent configuration data | - [ ] | `~/.config` |
|
|
|
|
| `MEDIA_FOLDER` | base folder for all media content | - [ ] | `/mnt/content` |
|
2022-06-06 22:43:02 +00:00
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
2022-07-05 23:07:45 +00:00
|
|
|
* Docker module
|
2022-06-06 22:43:02 +00:00
|
|
|
|
|
|
|
Example Playbook
|
|
|
|
----------------
|
|
|
|
|
2022-07-05 23:07:45 +00:00
|
|
|
Required vars
|
|
|
|
```yaml
|
|
|
|
- hosts: media-servers
|
|
|
|
include_roles:
|
|
|
|
- name: media
|
|
|
|
vars:
|
|
|
|
DISK_UUID: "UUID"
|
|
|
|
```
|
|
|
|
|
|
|
|
All variables
|
|
|
|
```yaml
|
|
|
|
- hosts: media-servers
|
|
|
|
include_roles:
|
|
|
|
- name: media
|
|
|
|
vars:
|
|
|
|
DISK_UUID: "UUID"
|
|
|
|
TZ: "America/New_York"
|
|
|
|
PUID: "1000"
|
|
|
|
PGID: "1000"
|
|
|
|
DOWNLOAD_FOLDER: "/mnt/downloads"
|
|
|
|
CONFIG_FOLDER: "~/.config"
|
|
|
|
MEDIA_FOLDER: "/mnt/content"
|
|
|
|
```
|
2022-06-06 22:43:02 +00:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
BSD
|