Browse Source

Bird role can now add wheezy backports repo itself

Till Klocke 9 years ago
parent
commit
fada6a7f7b
1 changed files with 8 additions and 0 deletions
  1. 8 0
      roles/bird/tasks/debian.yml

+ 8 - 0
roles/bird/tasks/debian.yml

@@ -1,2 +1,10 @@
+- name: Add GPG key for Wheezy backports
+  when: ansible_distribution_release == 'wheezy'
+  apt_key: keyserver=pgpkeys.mit.edu id=8B48AD6246925553
+
+- name: Add Wheezy backports
+  when: ansible_distribution_release == 'wheezy'
+  apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main' state=present update_cache=yes
+
 - name: Install bird routing daemon
   apt: name=bird state=present default_release={{bird_default_release}}