Compare commits
3 commits
b2db8e41e9
...
5fea64d59b
Author | SHA1 | Date | |
---|---|---|---|
5fea64d59b | |||
16ed2a40ef | |||
3350122be0 |
3 changed files with 26 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
.pass/
|
||||
.vagrant
|
||||
*.retry
|
||||
hosts
|
2
roles/common/files/20auto-upgrades
Normal file
2
roles/common/files/20auto-upgrades
Normal file
|
@ -0,0 +1,2 @@
|
|||
APT::Periodic::Update-Package-Lists "1";
|
||||
APT::Periodic::Unattended-Upgrade "1";
|
20
roles/common/tasks/main.yml
Normal file
20
roles/common/tasks/main.yml
Normal 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
|
Loading…
Reference in a new issue