diff --git a/provision-contest/ansible/roles/base_packages/defaults/main.yml b/provision-contest/ansible/roles/base_packages/defaults/main.yml index 8dd4b2a6..de5122d4 100644 --- a/provision-contest/ansible/roles/base_packages/defaults/main.yml +++ b/provision-contest/ansible/roles/base_packages/defaults/main.yml @@ -16,6 +16,7 @@ INSTALLED_PACKAGES: - debootstrap - default-jdk-headless - efibootmgr + - etckeeper - fontconfig - g++ - gcc diff --git a/provision-contest/ansible/roles/system_fixes/tasks/main.yml b/provision-contest/ansible/roles/system_fixes/tasks/main.yml index 57cace08..358bf659 100644 --- a/provision-contest/ansible/roles/system_fixes/tasks/main.yml +++ b/provision-contest/ansible/roles/system_fixes/tasks/main.yml @@ -65,5 +65,11 @@ line: 'DNS=8.8.8.8' notify: Reboot the machine +- name: Enable etckeeper autocommits every hour + file: + src: /etc/cron.daily/etckeeper + dest: /etc/cron.hourly/etckeeper + state: link + - name: Flush handlers meta: flush_handlers