]> git.phdru.name Git - ansible.git/commitdiff
Fix(monthly-truncate-logs): Use YAML syntax instead of `=`
authorOleg Broytman <phd@phdru.name>
Sun, 14 Jul 2019 03:02:57 +0000 (06:02 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2019 18:28:41 +0000 (21:28 +0300)
playbooks/monthly-truncate-logs.yml

index ad80bfeb044f92baa3c21637bad1f9f45ad8eb44..82a254904b745298def09f1ab354a0a26c2e8dc9 100644 (file)
@@ -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']