A quick router and cache for install party-like events
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
group_vars
README.md
default_hostapd
dhcpd.conf
get_ubuntu_mirrors.py
hostapd.conf
hosts
interfaces
interfaces.default
iptables.v4
nesquid.py
radiusd.conf
restore.yml
router.yml
squid.conf

README.md

#A quick router and cache for install party-like events

This repository contains a pair of Ansible playbooks that set a NAT environment from one ethernet card to a bridge of both another wired ethernet card and a wireless one.

Additionally, it sets an Squid cache for the Ubuntu repositories. A rewriter is used so the same file from different mirrors is cached only once.

These playbooks are written for a Ubuntu 14.04 environment.

To install, first edit group_vars/all and set appropriate values for each variable. Then, install ansible (e.g. from the Ubuntu repo) and run the playbook:

ansible-playbook -i hosts router.yml

Once the event has finished, to uninstall the router-cache and return your computer to normal state, run this playbook:

ansible-playbook -i hosts restore.yml