diff --git a/tasks/main.yml b/tasks/main.yml index 9a10acd..e9f93c7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,6 +16,9 @@ template: src: saslauthd.conf.j2 dest: /etc/saslauthd.conf + owner: root + group: root + mode: 0644 notify: - restart saslauthd @@ -23,6 +26,9 @@ copy: src: saslauthd-defaults dest: /etc/default/saslauthd + owner: root + group: root + mode: 0644 notify: - restart saslauthd @@ -30,6 +36,9 @@ copy: src: smtpd.conf dest: /etc/postfix/sasl/smtpd.conf + owner: root + group: root + mode: 0644 notify: - restart postfix @@ -50,6 +59,9 @@ template: src: "{{ item.src }}" dest: "{{ item.dest }}" + owner: root + group: root + mode: 0644 with_items: - { src: "main.cf.j2", dest: "/etc/postfix/main.cf" } - { src: "master.cf.j2", dest: "/etc/postfix/master.cf" } @@ -62,6 +74,9 @@ template: src: maps.j2 dest: "{{ item }}" + owner: root + group: root + mode: 0644 with_items: "{{ postfix.postfixmaps }}" notify: - restart postfix