Skip to content

TransparencyToolkit/ansible-role-lookingglass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published

Languages