Skip to content
Snippets Groups Projects
Commit 0940a13b authored by Vladimír Štill's avatar Vladimír Štill
Browse files

ansible: Enable unattended-upgrades in common_deb

parent 0c889449
No related branches found
No related tags found
No related merge requests found
......@@ -287,6 +287,13 @@
line: 'Unattended-Upgrade::Mail "{{admin_email}}";'
- regexp: '(//)?(.*label=Debian";)'
line: '\2'
- name: enable unattended upgrades
copy:
content: |
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
dest: /etc/apt/apt.conf.d/20auto-upgrades
- name: setup root profile
copy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment