add repo filenames

Mon, 22 Oct 2018 20:50:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 Oct 2018 20:50:46 -0500
changeset 83
f2ce8b027b1e
parent 82
ae08d6315368
child 84
fdaa84bcac9c

add repo filenames

roles/repositories/tasks/debian-stable.yml file | annotate | diff | comparison | revisions
roles/repositories/tasks/debian-testing.yml file | annotate | diff | comparison | revisions
--- a/roles/repositories/tasks/debian-stable.yml
+++ b/roles/repositories/tasks/debian-stable.yml
@@ -1,11 +1,13 @@
 ---
 - name: "add backports repo"
   apt_repository:
+    filename: "debian-backports"
     repo: "deb http://cdn-fastly.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"]
--- a/roles/repositories/tasks/debian-testing.yml
+++ b/roles/repositories/tasks/debian-testing.yml
@@ -9,4 +9,5 @@
 
 - name: add unstable repo
   apt_repository:
-    repo: "deb http://http.debian.net/debian unstable main"
+    filename: "debian-unstable"
+    repo: "deb https://deb.debian.org/debian unstable main"

mercurial