From dabc06383bcf7288f026dabe90cec20e98b16d06 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 14 Jul 2019 06:02:57 +0300 Subject: [PATCH] Fix(monthly-truncate-logs): Use YAML syntax instead of `=` --- playbooks/monthly-truncate-logs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'] -- 2.39.5