diff --git a/roles/msmtp/tasks/frame.yml b/roles/msmtp/tasks/frame.yml index a8d220a..7875db6 100644 --- a/roles/msmtp/tasks/frame.yml +++ b/roles/msmtp/tasks/frame.yml @@ -38,4 +38,11 @@ mode: 0644 tags: - msmtp-config - \ No newline at end of file + - name: Create msmtp log file + copy: + content: "" + dest: /var/log/msmtp.log + force: no + group: root + owner: root + mode: 0600