diff --git a/tasks/main.yml b/tasks/main.yml index 6b6daf6..91e3eb7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,6 +13,11 @@ with_items: - jessie - stretch +- name: remove obsolete apt list entries + lineinfile: path=/etc/apt/sources.list regexp="{{ item }}-backports" state=absent + with_items: + - jessie + - stretch - name: update apt cache apt: update_cache=yes