From 605c8a6a140412a50acf62dc3fec3eb31bd2b8fa Mon Sep 17 00:00:00 2001 From: Div Arora Date: Thu, 12 Aug 2021 18:05:45 +0800 Subject: [PATCH] fix: man-db is a cronjob and not a systemd service Additionally, disable a couple of other cronjobs that are not useful for us. --- ansible/tasks/internal/optimizations.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ansible/tasks/internal/optimizations.yml b/ansible/tasks/internal/optimizations.yml index a242b075a..6d287b409 100644 --- a/ansible/tasks/internal/optimizations.yml +++ b/ansible/tasks/internal/optimizations.yml @@ -13,7 +13,6 @@ - postgresql - pgbouncer - fail2ban - - man-db - motd-news - name: Setup - install common dependencies @@ -30,4 +29,13 @@ masked: yes with_items: - lvm2-monitor + +- name: disable man-db + become: yes + file: + state: absent + path: "/etc/cron.daily/{{ item }}" + with_items: - man-db + - popularity-contest + - ubuntu-advantage-tools