Created
February 14, 2017 10:20
-
-
Save NetguruGist/1b9689550dd9f024acdf448a637b4c7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Automated security updates" | |
apt: name=unattended-upgrades state=present | |
- file: path=/etc/apt/apt.conf.d/10periodic state=absent | |
- blockinfile: | |
dest: /etc/apt/apt.conf.d/10periodic | |
create: yes | |
block: | | |
APT::Periodic::Update-Package-Lists "1"; | |
APT::Periodic::Download-Upgradeable-Packages "1"; | |
APT::Periodic::AutocleanInterval "7"; | |
APT::Periodic::Unattended-Upgrade "1"; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment