Written for Debian-like systems.
Confirmed to be working on Debian Jessie.
A role for creating a Polipo caching server.
Polipo is useful for caching Linux package files (e.g. *.deb)
Clone this git repo into your Ansible's role directory, e.g.:
git clone ansible-polipo.git roles/polipo
Variables to define:
polipo_proxyAddress - IP address for Polipo to bind to
polipo_allowedClients - IP/IP subnet allowed to use Polipo
(IPs/IP subnets are space-separated)