8000 fix: man-db is a cronjob and not a systemd service (#66) · chazgorman/postgres-1@ccabd50 · GitHub
[go: up one dir, main page]

Skip to content

Commit ccabd50

Browse files
authored
fix: man-db is a cronjob and not a systemd service (supabase#66)
Additionally, disable a couple of other cronjobs that are not useful for us.
1 parent dc12c32 commit ccabd50

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ansible/tasks/internal/optimizations.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
- postgresql
1414
- pgbouncer
1515
- fail2ban
16-
- man-db
1716
- motd-news
1817

1918
- name: Setup - install common dependencies
@@ -30,4 +29,13 @@
3029
masked: yes
3130
with_items:
3231
- lvm2-monitor
32+
33+
- name: disable man-db
34+
become: yes
35+
file:
36+
state: absent
37+
path: "/etc/cron.daily/{{ item }}"
38+
with_items:
3339
- man-db
40+
- popularity-contest
41+
- ubuntu-advantage-tools

0 commit comments

Comments
 (0)
0