This commit is contained in:
parent
1290f4cb83
commit
9a36eafb2d
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@
|
||||||
- name: Install apt-cacher-ng
|
- name: Install apt-cacher-ng
|
||||||
apt:
|
apt:
|
||||||
name: apt-cacher-ng
|
name: apt-cacher-ng
|
||||||
status: present
|
state: present
|
||||||
register: apt_result
|
register: apt_result
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succedded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
- name: Deploy configuration for apt-cacher-ng
|
- name: Deploy configuration for apt-cacher-ng
|
||||||
template:
|
template:
|
||||||
|
@ -19,8 +19,8 @@
|
||||||
|
|
||||||
- name: Removes other distribution
|
- name: Removes other distribution
|
||||||
file:
|
file:
|
||||||
path: '/etc/apt-cacher-ng/{{ item }}'
|
path: "/etc/apt-cacher-ng/{{ item }}"
|
||||||
state: removed
|
state: absent
|
||||||
loop:
|
loop:
|
||||||
- backends_ubuntu.default
|
- backends_ubuntu.default
|
||||||
- backends_ubuntu
|
- backends_ubuntu
|
||||||
|
|
Loading…
Reference in a new issue