Add common roles from polyfloyd's playbookds
This commit is contained in:
parent
1332f49101
commit
e43ec3229f
23 changed files with 694 additions and 0 deletions
18
roles/common/tasks/debian-backports.yaml
Normal file
18
roles/common/tasks/debian-backports.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
- name: Install backports source list
|
||||
template:
|
||||
src: backports-source.list
|
||||
dest: /etc/apt/sources.list.d/backports.list
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: apt update
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Install backports kernel
|
||||
apt:
|
||||
name: linux-image-amd64
|
||||
state: latest
|
||||
default_release: "{{ ansible_facts['distribution_release'] }}-backports"
|
||||
when: ansible_facts['architecture'] == "x86_64"
|
Loading…
Add table
Add a link
Reference in a new issue