TransparencyToolkit/ansible-role-lookingglass

Name: ansible-role-lookingglass

Owner: Transparency Toolkit

Description: Automates deployment of LookingGlass instances

Created: 2016-07-17 13:42:27.0

Updated: 2017-02-03 20:26:32.0

Pushed: 2016-08-19 23:44:23.0

Homepage: https://github.com/transparencytoolkit/lookingglass

Size: 14

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ansible-role-lookingglass

This is a development/testing environment for Transparency Toolkit's LookingGlass software. It uses Vagrant/VirtualBox plus Ansible, which can be installed via Python's pip. There is also a Dockerfile for running the role in a container via Docker.

How to get started

Make sure Vagrant and Ansible are installed (sudo pip install -U ansible), and then run:

vagrant up --provision

Port 8080 on the host machine should be forwarded to port 80 on the guest virtual machine.

Tested with Ansible 2.1.0 and Vagrant 1.8.4 on Debian GNU/Linux (jessie).

Using with Docker

First, make sure you have Docker. Their official install script can take care of that for you.

To build the image:

docker build -t lookingglass .

To run a container and forward port 8080 on the host machine to port 80 inside the container:

docker run --name lookingglass -p 8080:80 -d lookingglass

Tested with Docker 1.11.2.

Default role variables

The Snowden doc search is the default LG instance here, but other types of instances are available.

lg_dataspec: 'https://github.com/TransparencyToolkit/dataspec-snowden'
lg_data: 'https://github.com/transparencytoolkit/nsa-data'
Dependencies

The official RVM role for Ansible. Installed via ansible-galaxy install -r requirements.yml.

Author

Kevin Gallagher (@ageis)


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.