Yoctol/ansible-docker-redis

Name: ansible-docker-redis

Owner: YOCTOL INFO INC.

Description: An ansible role to run redis docker container.

Created: 2016-05-16 05:20:30.0

Updated: 2016-05-16 05:20:30.0

Pushed: 2017-10-31 13:19:50.0

Homepage: null

Size: 9

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Role Name

Docker container running redis.

Requirements
Role Variables

tional, the redis docker image tag name to use. Default 'latest'.
s_docker_tag: ''

tional, whether to use a separate container to store redis data files.
backup_container: true

tional, the container name to store data. Default 'redis-backup'.
up_container_name: redis-backup

tional, the container name which running redis. Default 'redis'.
s_container_name: redis

tional, the port to expose redis to the host.
fault not expose redis to the host.
se_host_port: 0
Dependencies
Example Playbook
- hosts: servers
  roles:
     - role: ansible-docker-redis
       use_datastore_container: true
       datastore_container_name: dbstore
       postgres_container_name: postgres
       expose_host_port: 5432
       postgres_docker_tag: 9.5
       postgres_docker_env:
         POSTGRES_PASSWORD: pg_admin_pw
         POSTGRES_USER: pg_admin_user
         PGDATA: /var/lib/postgresql/data/pgdata
         POSTGRES_DB: pg_default_db
         POSTGRES_INITDB_ARGS: "--data-checksums"
License

MIT

Author Information

YoctolInfo


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.