From: Oleg Broytman Date: Sun, 14 Jul 2019 03:02:57 +0000 (+0300) Subject: Fix(monthly-truncate-logs): Use YAML syntax instead of `=` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dabc06383bcf7288f026dabe90cec20e98b16d06;p=ansible.git Fix(monthly-truncate-logs): Use YAML syntax instead of `=` --- diff --git a/playbooks/monthly-truncate-logs.yml b/playbooks/monthly-truncate-logs.yml index ad80bfe..82a2549 100644 --- a/playbooks/monthly-truncate-logs.yml +++ b/playbooks/monthly-truncate-logs.yml @@ -3,5 +3,8 @@ gather_facts: false tasks: - name: Truncate mail logs - copy: dst="{{ item }}" content='' force=yes + copy: + content: '' + dest: "{{ item }}" + force: yes loop: ['mail/procmail.log', 'mail/sent-mail']