commit | 5f25f369d16e56cdaf5795387c4400fa9d1065f2 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@artisancomputer.com> | Mon May 02 09:18:41 2016 -0700 |
committer | Zack Williams <zdw@artisancomputer.com> | Mon May 02 09:18:41 2016 -0700 |
tree | 72cdd784014958c63093b0d81cdde0986c3c815e | |
parent | b994a9e174e69ca5ddd62b8bfc2a9e28fa04b598 [diff] |
have vm's use apt-cache
diff --git a/roles/apt-cacher-ng/defaults/main.yml b/roles/apt-cacher-ng/defaults/main.yml index f54e9cc..84d55a4 100644 --- a/roles/apt-cacher-ng/defaults/main.yml +++ b/roles/apt-cacher-ng/defaults/main.yml
@@ -1,6 +1,6 @@ --- # apt-cacher-ng/defaults/main.yml -apt_cacher_ip: 127.0.0.1 +apt_cacher_name: 127.0.0.1 apt_cacher_port: 3142
diff --git a/roles/apt-cacher-ng/templates/02apt-cacher-ng.j2 b/roles/apt-cacher-ng/templates/02apt-cacher-ng.j2 index b07ba88..46740fb 100644 --- a/roles/apt-cacher-ng/templates/02apt-cacher-ng.j2 +++ b/roles/apt-cacher-ng/templates/02apt-cacher-ng.j2
@@ -1 +1 @@ -Acquire::http { Proxy "http://{{ apt_cacher_ip }}:{{ apt_cacher_port }}"; }; +Acquire::http { Proxy "http://{{ apt_cacher_name }}:{{ apt_cacher_port }}"; };