roles/repositories/tasks/debian-stable.yml

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 32
70eb0f5478d8
child 82
ae08d6315368
permissions
-rw-r--r--

actually remove defunct repositories

---
- 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"
  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