snappass_docker
Ansible Role for Snappass in Docker
Derek Merck
derek_merck@brown.edu
Rhode Island Hospital and Brown University
Providence, RI
Configure and run a Snappass secret cache in a Docker container.
Dependencies
Galaxy Roles
- geerlingguy.docker to setup the docker environment
- geerlingguy.pip to install Python reqs
- derekmerck.redis-docker for Redis backend
Remote Node
Role Variables
Docker Image and Tag
Set the repo to clone to build the Snappass image.
- https://github.com/pinterest/snappass - official repo (uses branch "master")
- https://github.com/jameswthorne/snappass - fork that publishes an api (uses branch "api")
snappass_repo_url: https://github.com/pinterest/snappass
Docker Container Configuration
Uses Flask and Flask default port.
snappass_container_name: snappass
snappass_port: 5000
Redis Backend Configuration
snappass_redis_container_name: redis
snappass_redis_port: 6379
snappass_redis_password: "passw0rd!"
snappass_redis_db: 0
Example Playbook
- hosts: snappass_server
roles:
- derekmerck.snappass_docker
License
MIT
Install
ansible-galaxy install derekmerck/ansible-snappass-docker
License
Unknown
Downloads
31
Owner