diff --git a/tasks/aliases.yml b/tasks/aliases.yml index 9dfa587..424af61 100644 --- a/tasks/aliases.yml +++ b/tasks/aliases.yml @@ -2,11 +2,11 @@ - name: "Aliases | Copy lookup tables from templates" ansible.builtin.template: src: postfix/conf.d/virtual_aliases.j2 - dest: "{{ postfix_conf_dir }}/" + dest: "{{ postfix_conf_dir }}/virtual_aliases" mode: "0644" notify: reload postfix -- name: "Domains | Run postmap" +- name: "Aliases | Run postmap" ansible.builtin.command: "postmap cdb:virtual_aliases" args: chdir: "{{ postfix_conf_dir }}"