From 1583dad0824450886305e2467d31c5e5d0ffbb5f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 1 Sep 2019 01:14:39 +0300 Subject: [PATCH] Remove `monthly-truncate-logs` It's simple to implement this as a shell and run from cron. --- playbooks/monthly-truncate-logs.yml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 playbooks/monthly-truncate-logs.yml diff --git a/playbooks/monthly-truncate-logs.yml b/playbooks/monthly-truncate-logs.yml deleted file mode 100644 index 61c1472..0000000 --- a/playbooks/monthly-truncate-logs.yml +++ /dev/null @@ -1,9 +0,0 @@ -- name: Truncate Linux logs monthly - hosts: "{{ hosts | default('all') }}" - gather_facts: false - tasks: - - name: Truncate mail logs - copy: - content: '' - dest: "{{ item }}" - loop: ['~/mail/procmail.log', '~/mail/sent-mail'] -- 2.39.2