roles/repositories/tasks/debian-stable.yml

changeset 32
70eb0f5478d8
child 75
082685c4bd2a
new file mode 100644
--- /dev/null
+++ b/roles/repositories/tasks/debian-stable.yml
@@ -0,0 +1,9 @@
+---
+- name: add backports repo
+  apt_repository:
+    repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main"
+
+- name: add pgdg repo
+  apt_repository:
+    repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
+  when: ansible_architecture in ["i386", "x86_64"]

mercurial