From: Oleg Broytman Date: Sat, 31 Aug 2019 22:14:39 +0000 (+0300) Subject: Remove `monthly-truncate-logs` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1583dad0824450886305e2467d31c5e5d0ffbb5f;p=ansible.git Remove `monthly-truncate-logs` It's simple to implement this as a shell and run from cron. --- 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']