Skip to content

Commit

Permalink
Merge pull request #43 from mvdriel/fix-order-of-handlers
Browse files Browse the repository at this point in the history
Fixed order of handlers
  • Loading branch information
tersmitten authored Jun 18, 2018
2 parents 6d264d3 + 2153e31 commit f5b05f3
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# handlers file for postfix
---
- name: new aliases
command: newaliases

- name: new virtual aliases
command: postmap /etc/postfix/virtual

- name: postmap sasl_passwd
command: postmap hash:/etc/postfix/sasl_passwd

- name: postmap sender_canonical_maps
command: postmap hash:/etc/postfix/sender_canonical_maps

- name: postmap generic
command: postmap hash:/etc/postfix/generic

- name: restart postfix
command: /bin/true
notify:
Expand All @@ -17,18 +32,3 @@
name: postfix
state: restarted
when: service_default_state | default('started') == 'started'

- name: new aliases
command: newaliases

- name: new virtual aliases
command: postmap /etc/postfix/virtual

- name: postmap sasl_passwd
command: postmap hash:/etc/postfix/sasl_passwd

- name: postmap sender_canonical_maps
command: postmap hash:/etc/postfix/sender_canonical_maps

- name: postmap generic
command: postmap hash:/etc/postfix/generic

0 comments on commit f5b05f3

Please sign in to comment.