From 49c0b91ccdef63e8f5e0b7aab3f7f9feb28220cc Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 13 Nov 2024 09:24:37 +0100 Subject: [PATCH] Remove cron job On some hosts this will probably terminate the MariaDB server --- tasks/cron.yml | 6 ------ tasks/main.yml | 4 ---- 2 files changed, 10 deletions(-) delete mode 100644 tasks/cron.yml diff --git a/tasks/cron.yml b/tasks/cron.yml deleted file mode 100644 index 3993b83..0000000 --- a/tasks/cron.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -- name: "Cron | Create cron job for database optimization" - ansible.builtin.cron: - name: 'Database optimization' - job: 'chronic mysqlcheck --all-databases --optimize' - special_time: weekly diff --git a/tasks/main.yml b/tasks/main.yml index 87cc169..1e1212f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,10 +8,6 @@ when: "'munin' in ansible_facts.packages" tags: munin -- name: Cron - ansible.builtin.import_tasks: cron.yml - tags: cron - - name: Backup ansible.builtin.import_tasks: backup.yml tags: backup