diff --git a/roles/apt_cacher_ng/tasks/main.yml b/roles/apt_cacher_ng/tasks/main.yml index 7f5f190..e30024e 100644 --- a/roles/apt_cacher_ng/tasks/main.yml +++ b/roles/apt_cacher_ng/tasks/main.yml @@ -2,10 +2,10 @@ - name: Install apt-cacher-ng apt: name: apt-cacher-ng - status: present + state: present register: apt_result retries: 3 - until: apt_result is succedded + until: apt_result is succeeded - name: Deploy configuration for apt-cacher-ng template: @@ -19,8 +19,8 @@ - name: Removes other distribution file: - path: '/etc/apt-cacher-ng/{{ item }}' - state: removed + path: "/etc/apt-cacher-ng/{{ item }}" + state: absent loop: - backends_ubuntu.default - backends_ubuntu