2017-03-26 21:48:44 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Configure apt not to install recommends packages
|
|
|
|
copy: src=apt-recommends.conf dest=/etc/apt/apt.conf.d/40recommends
|
|
|
|
|
2020-06-23 21:45:56 +02:00
|
|
|
- name: Install apt related tools
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- apt-transport-https
|
|
|
|
- debian-goodies
|
2021-08-16 17:17:21 +02:00
|
|
|
- gnupg2
|
2020-06-23 21:45:56 +02:00
|
|
|
- lsof
|
|
|
|
- unattended-upgrades
|
2017-03-26 21:48:44 +02:00
|
|
|
|
|
|
|
- name: Configure periodic apt updates
|
|
|
|
copy: src=apt-periodic.conf dest=/etc/apt/apt.conf.d/10periodic
|
|
|
|
|
|
|
|
- name: Configure unattended-upgrades
|
|
|
|
copy: src=unattended-upgrades.conf dest=/etc/apt/apt.conf.d/50unattended-upgrades
|
|
|
|
|
|
|
|
- name: Configure dpkg to run with unattended-upgrades
|
|
|
|
copy: src=unattended-upgrades-dpkg.conf dest=/etc/apt/apt.conf.d/51unattended-upgrades
|
|
|
|
|
|
|
|
- name: Configure apt to run checkrestart after updates
|
|
|
|
copy: src=apt-checkrestart.conf dest=/etc/apt/apt.conf.d/99checkrestart
|