roles/repositories/tasks/debian-testing.yml

changeset 32
70eb0f5478d8
child 83
f2ce8b027b1e
new file mode 100644
--- /dev/null
+++ b/roles/repositories/tasks/debian-testing.yml
@@ -0,0 +1,12 @@
+---
+- name: set up repo preferences
+  copy:
+    src: 'preferences.d/{{item}}'
+    dest: /etc/apt/preferences.d/
+  with_items:
+    - '10-testing'
+    - '20-unstable'
+
+- name: add unstable repo
+  apt_repository:
+    repo: "deb http://http.debian.net/debian unstable main"

mercurial