diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-04-07 20:13:41 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-04-07 20:13:41 +0100 |
commit | f2dc007f38c53ce583fb7510ce5f073ed1fcc320 (patch) | |
tree | 8a6aabebb942fe67f6fe8a3bb51bafb7e4b35ea6 /roles/postfix/tasks | |
parent | 55f42aea91101482c8f2c2fbd4d13f1d9bd52963 (diff) | |
download | infra-f2dc007f38c53ce583fb7510ce5f073ed1fcc320.tar.gz infra-f2dc007f38c53ce583fb7510ce5f073ed1fcc320.tar.bz2 infra-f2dc007f38c53ce583fb7510ce5f073ed1fcc320.zip |
Add master.cf file to postfix role
Enable submission to send mail.
Diffstat (limited to 'roles/postfix/tasks')
-rw-r--r-- | roles/postfix/tasks/main.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/postfix/tasks/main.yml b/roles/postfix/tasks/main.yml index 4856225..3421b52 100644 --- a/roles/postfix/tasks/main.yml +++ b/roles/postfix/tasks/main.yml @@ -47,11 +47,14 @@ - name: Configure postfix ansible.builtin.copy: - src: files/main.cf - dest: /etc/postfix/main.cf + src: '{{ item }}' + dest: /etc/postfix/ owner: root group: root mode: u+rw,g+r,o+r + loop: + - files/master.cf + - files/main.cf notify: - Check postfix - Reload postfix |