X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=AnsibleRoles.git;a=blobdiff_plain;f=roles%2Fpostfix%2Fhandlers%2Fmain.yml;h=2736cd7230f130ae5943024a2b0cf1fe15b829d3;hp=2ba9b82d4c69c9238bf0300ca554882b7de8bd2e;hb=c241cb355c72b6127a1a8af40cdf67d9eba342ef;hpb=a00a98969e6f6b253f8e682fca206c7d8e97f24e diff --git a/roles/postfix/handlers/main.yml b/roles/postfix/handlers/main.yml index 2ba9b82..2736cd7 100644 --- a/roles/postfix/handlers/main.yml +++ b/roles/postfix/handlers/main.yml @@ -1,6 +1,11 @@ --- # postfix handlers +- name: update "postfix" configuration + command: dpkg-reconfigure -fnoninteractive postfix + notify: + - restart "postfix" + - name: restart "postfix" service: > name=postfix