marvinpinto.docker-couchpotato

docker-couchpotato

Build Status Ansible Galaxy License

This is an Ansible Galaxy role that helps you manage and run a CouchPotato docker container.

The role connects to the CouchPotato docker container provided by linuxserver, along with some basic setup to make it work smoothly.

Requirements

This role has been tested on Ubuntu 14.04 and is likely only compatible with similar systems. You will need to have a working Docker environment and a current version of docker-py for it to operate properly.

If you're starting from scratch and want Ansible to handle the setup for you, check out the marvinpinto.docker Galaxy role.

Role Variables

# Name for the Docker container
docker_couchpotato_container_name: 'couchpotato'

# Port on the host for CouchPotato
docker_couchpotato_exposed_port: '5050'

# Directory where all CouchPotato-related configuration and data will be stored.
# This directory and its sub-directories will be created automatically if they don't exist.
#
# For example, if 'docker_couchpotato_mounted_directory' is set to:
# /tmp/couchpotato_mount, the following directories will be created:
#
# /tmp/couchpotato_mount/config
# /tmp/couchpotato_mount/raw_movie_downloads
# /tmp/couchpotato_mount/movies
docker_couchpotato_mounted_directory: '/tmp/couchpotato_mount'

Examples

To install this module from Ansible Galaxy into the './roles' directory, use:

ansible-galaxy install marvinpinto.docker-couchpotato -p ./roles

You can include it in a playbook like this:

- hosts: '127.0.0.1'
  roles:
    - role: 'marvinpinto.docker-couchpotato'
      become: true

Mounted Directory

The reason for storing all configuration in the docker_couchpotato_mounted_directory is that it allows you to manage all settings and data outside of Ansible itself.

This is especially helpful if the mounted directory is on a different filesystem (like EBS storage or a USB drive).

Informazioni sul progetto

Ansible Galaxy role to manage and run the couchpotato docker container.

Installa
ansible-galaxy install marvinpinto.docker-couchpotato
Licenza
mit
Download
129
Proprietario
Computer nerd.