1
0
Fork 0
forked from cisti/infra

add common role

This commit is contained in:
les 2020-10-03 22:34:11 +02:00
parent 16ed2a40ef
commit 5fea64d59b
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,2 @@
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

View file

@ -0,0 +1,20 @@
---
- name: Install generic deps
apt:
pkg:
- git
- sudo
- acl
- name: Install Unattended Upgrades
apt:
pkg:
- unattended-upgrades
- name: Activate Unattented Upgrades
copy:
src: 20auto-upgrades
dest: /etc/apt/apt.conf.d/20auto-upgrades
owner: root
group: root
mode: 0644