actually remove defunct repositories

Fri, 23 Jun 2017 20:17:46 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 23 Jun 2017 20:17:46 -0400
changeset 75
082685c4bd2a
parent 74
87a637974823
child 76
9c024e39a565

actually remove defunct repositories

roles/repositories/tasks/debian-stable.yml file | annotate | diff | comparison | revisions
--- a/roles/repositories/tasks/debian-stable.yml
+++ b/roles/repositories/tasks/debian-stable.yml
@@ -1,9 +1,17 @@
 ---
-- name: add backports repo
+- name: "add backports repo"
   apt_repository:
     repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main"
+    update_cache: false
 
-- name: add pgdg repo
+- name: "add pgdg repo"
   apt_repository:
     repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
+    update_cache: false
   when: ansible_architecture in ["i386", "x86_64"]
+
+- name: "remove defunct repositories"
+  apt_repository:
+    state: absent
+    repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
+    update_cache: false

mercurial