roles/repositories/tasks/debian-stable.yml

Mon, 22 Oct 2018 20:54:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 Oct 2018 20:54:07 -0500
changeset 85
25111b904b2c
parent 83
f2ce8b027b1e
permissions
-rw-r--r--

use https redirector now

---
- name: "add backports repo"
  apt_repository:
    filename: "debian-backports"
    repo: "deb https://deb.debian.org/debian {{ansible_distribution_release}}-backports main"
    update_cache: false

- name: "add pgdg repo"
  apt_repository:
    filename: "pgdg"
    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