|
@@ -1,3 +1,11 @@
|
|
|
+- name: Install auto upgrades package
|
|
|
+ action: ${ansible_pkg_mgr} pkg=unattended-upgrades state=installed update_cache=yes
|
|
|
+ when_boolean: ${with_auto_upgrade}
|
|
|
+
|
|
|
+- name: Configure auto upgrades
|
|
|
+ action: template src=apt/auto-upgrades.j2 dest=/etc/apt/apt.conf.d/20auto-upgrades owner=root group=root mode=0644
|
|
|
+ when_boolean: ${with_auto_upgrade}
|
|
|
+
|
|
|
- name: Install logcheck packages
|
|
|
action: ${ansible_pkg_mgr} pkg=${item} state=installed update_cache=yes
|
|
|
with_items:
|