diff options
Diffstat (limited to 'roles/out/tasks/main.yml')
-rw-r--r-- | roles/out/tasks/main.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/out/tasks/main.yml b/roles/out/tasks/main.yml index 0e64443..48c162a 100644 --- a/roles/out/tasks/main.yml +++ b/roles/out/tasks/main.yml @@ -1,22 +1,26 @@ - name: Install Postfix - apt: pkg=postfix + apt: pkg={{ packages }} + vars: + packages: + - postfix + - postfix-lmdb - name: Configure Postfix 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 - name: Copy the canonical maps template: src=etc/postfix/canonical.j2 dest=/etc/postfix-{{ postfix_instance[inst].name }}/canonical owner=root group=root mode=0644 - name: Compile the canonical maps # no need to reload upon change, as cleanup(8) is short-running |