diff options
Diffstat (limited to 'roles/MX/tasks')
-rw-r--r-- | roles/MX/tasks/main.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/MX/tasks/main.yml b/roles/MX/tasks/main.yml index c8853be..1d08734 100644 --- a/roles/MX/tasks/main.yml +++ b/roles/MX/tasks/main.yml @@ -10,10 +10,13 @@ - libauthen-sasl-perl - name: Configure Postfix - template: src=etc/postfix/main.cf.j2 - dest=/etc/postfix-{{ postfix_instance[inst].name }}/main.cf + template: src=etc/postfix/{{ item }}.j2 + dest=/etc/postfix-{{ postfix_instance[inst].name }}/{{ item }} owner=root group=root mode=0644 + with_items: + - main.cf + - master.cf notify: - Reload Postfix |