changeset 4 | 46fe3aa0080c |
parent 2 | 2556522a2a45 |
3:0dc5400538ef | 4:46fe3aa0080c |
---|---|
1 --- |
1 --- |
2 |
|
3 - name: check if running apt-cacher server |
|
4 stat: path="/etc/apt-cacher-ng/acng.conf" |
|
5 register: stat_server_conf |
|
2 |
6 |
3 - name: configure apt-cacher proxy |
7 - name: configure apt-cacher proxy |
4 become: yes |
8 become: yes |
5 template: |
9 template: |
6 src: "02proxy.j2" |
10 src: "02proxy.j2" |
7 dest: "/etc/apt/apt.conf.d/02proxy" |
11 dest: "/etc/apt/apt.conf.d/02proxy" |
12 when: not stat_server_conf.stat.exists |