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