roles/repositories/tasks/debian-stable.yml

Fri, 23 Jun 2017 20:51:34 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 23 Jun 2017 20:51:34 -0400
changeset 78
fe6ef0cccdf1
parent 75
082685c4bd2a
child 82
ae08d6315368
permissions
-rw-r--r--

pull out bootstrap so it can be run with one tag

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