marvinpinto.docker-media-converter
docker-media-converter
This is an Ansible Galaxy role that helps manage and run a media-converter docker container.
Requirements
This role has been designed for Ubuntu 14.04 and should mostly work on similar Ubuntu systems. You'll need a working Docker environment and a recent version of docker-py
for the role to function properly.
If you don't have these set up and want Ansible to configure them for you, check out the marvinpinto.docker Galaxy role.
Role Variables
# Name of the Docker container
docker_media_converter_container_name: 'mediaconverter'
# List of media directories to be mounted in the container
docker_media_container_exposed_volumes: []
# Environmental variables for the container
docker_media_container_env_variables: {}
Examples
To install this module from Ansible Galaxy into the './roles' directory:
ansible-galaxy install marvinpinto.docker-media-converter -p ./roles
Here’s how to use it in a playbook:
- hosts: '127.0.0.1'
roles:
- role: 'marvinpinto.docker-media-converter'
become: true
docker_media_container_env_variables:
MEDIA_TVSHOWS: '/tv'
MEDIA_MOVIES: '/movies'
PLEX_URL: 'http://127.0.0.1:32400'
PLEX_TOKEN: 'sekr3t'
docker_media_container_exposed_volumes:
- '/opt/data/tv:/tv'
- '/opt/data/movies:/movies'
Informazioni sul progetto
Ansible Galaxy role to manage and run the media converter docker container.
Installa
ansible-galaxy install marvinpinto.docker-media-converter
Licenza
mit
Download
86
Proprietario
Computer nerd.