📝 document stuff
This commit is contained in:
parent
31e7a65d8c
commit
7fa4e25670
2 changed files with 9 additions and 0 deletions
6
README.md
Normal file
6
README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# ansible-role-backports
|
||||
ansible role to install backports apt source (on debian).
|
||||
|
||||
parameters
|
||||
----------
|
||||
none
|
|
@ -2,6 +2,8 @@
|
|||
template:
|
||||
src: backports.list.j2
|
||||
dest: /etc/apt/sources.list.d/backports.list
|
||||
# do this from a template to fully remove any other lines in the file.
|
||||
|
||||
|
||||
- name: remove obsolete apt lists
|
||||
file: path=/etc/apt/sources.list.d/{{ item }}-backports.list state=absent
|
||||
|
@ -14,6 +16,7 @@
|
|||
- jessie
|
||||
- stretch
|
||||
|
||||
|
||||
- name: update apt cache
|
||||
apt: update_cache=yes
|
||||
changed_when: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue