Add pgdg repository

Mon, 01 Jun 2015 02:08:11 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 01 Jun 2015 02:08:11 -0400
changeset 5
5ca52e9c51fa
parent 4
ee7f92e88b1a
child 6
0fe74156183f

Add pgdg repository

roles/devbox/tasks/debian.yml file | annotate | diff | comparison | revisions
--- a/roles/devbox/tasks/debian.yml
+++ b/roles/devbox/tasks/debian.yml
@@ -1,9 +1,15 @@
 ---
 
 # Not used here, but nice to have ready
-- name: add backports
+- name: add backports repo
   apt_repository:
     repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main"
+  tags: repos
+
+- name: add pgdg repo
+  apt_repository:
+    repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
+  tags: repos
 
 - name: apt upgrade
   apt: upgrade=yes update_cache=yes cache_valid_time=3600 

mercurial