marvinpinto.docker-sickrage
docker-sickrage
This is an Ansible Galaxy role that helps you manage and run a sickrage Docker container.
The role connects to the sickrage Docker container made by linuxserver and provides the necessary setup to start everything easily.
Requirements
This role has been tested on Ubuntu 14.04 and is mainly for Ubuntu-like systems. You will also need a working Docker setup and a recent version of docker-py
for this role to function.
If you need both of these set up, you can check out the marvinpinto.docker Galaxy role for assistance.
Role Variables
# Port for Sickrage
docker_sickrage_exposed_port: '8081'
# Name of the Docker container
docker_sickrage_container_name: 'sickrage'
# Main directory for Sickrage settings and data. All necessary subdirectories will be automatically created if they don't exist.
#
# Example if 'docker_sickrage_mounted_directory' is set to: /tmp/sickrage_mount
# This will create:
# /tmp/sickrage_mount/config
# /tmp/sickrage_mount/raw_tv_downloads
# /tmp/sickrage_mount/tv
docker_sickrage_mounted_directory: '/tmp/sickrage_mount'
Examples
To install this module from Ansible Galaxy into the './roles' directory, use this command:
ansible-galaxy install marvinpinto.docker-sickrage -p ./roles
You can use it in a playbook like this:
- hosts: '127.0.0.1'
roles:
- role: 'marvinpinto.docker-sickrage'
become: true
Mounted Directory
The reason for keeping all related settings in the docker_sickrage_mounted_directory
is so you can manage everything outside of Ansible.
This is particularly helpful when the mounted directory is on a different storage system (like EBS, USB disk, etc.).
Ansible Galaxy role to manage and run the sickrage docker container.
ansible-galaxy install marvinpinto.docker-sickrage