commit b6b4e312b1192dc01b1f16ecbbe399dad8155fd0 Author: neingeist Date: Sun Sep 25 15:26:22 2016 +0200 add role to configure jessie-backports diff --git a/files/jessie-backports.list b/files/jessie-backports.list new file mode 100644 index 0000000..f12e73c --- /dev/null +++ b/files/jessie-backports.list @@ -0,0 +1,2 @@ +deb http://ftp.de.debian.org/debian jessie-backports main +deb-src http://ftp.de.debian.org/debian jessie-backports main diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..51aae06 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,7 @@ +- name: install jessie-backports apt list + copy: src=jessie-backports.list dest=/etc/apt/sources.list.d/ + register: jessie_backports_list + +- name: apt-get update + apt: update_cache=yes + when: jessie_backports_list|changed