Ubuntu Apt-Mirror. Repos not populated (Updated w/cron schedule - default schedule is daily).
10K+
Table of Contents generated with DocToc
Installs and configures apt-mirror (Local APT Repository). Also configures clients if extra-var passed.
Lot's of disk space required for repos...At the time of putting this together Ubuntu Trusty w/defaults in this role requires 139GB+
Install Ansible role requirements:
sudo ansible-galaxy install -r requirements.yml -f
Spin up Environment under Vagrant to test.
vagrant up
Spin up Docker container (apt mirror repos not populated...will update on cron schedule)
docker run -d -p 80:80 --name apt-mirror mrlesmithjr/apt-mirror
To immediately update cache (Will take a long time...so do not cancel)
docker exec -it apt-mirror apt-mirror
ansible-apache2 and mrlesmithjr.apache2 (Installed as part of requirements.yml)
- hosts: servers
roles:
- role: ansible-apache2
- role: ansible-apt-mirror
- hosts: clients
roles:
- { role: ansible-apt-mirror, apt_mirror_client: true }
MIT
Larry Smith Jr.
Content type
Image
Digest
Size
161.4 MB
Last updated
almost 7 years ago
docker pull mrlesmithjr/apt-mirror