diff --git a/handlers/main.yml b/handlers/main.yml index 9b1b1baba389add024f3340f62dc5e19d8589f49..07ffa6c65984be8b153c1585e3490d147b1064eb 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -19,16 +19,6 @@ notify: ['reload postfix'] changed_when: "result.stdout != \"make: 'transport.db' is up to date.\"" -- name: make postfix - environment: - LC_MESSAGES: 'C' - command: make - args: - chdir: /etc/postfix - register: result - notify: ['reload postfix'] - changed_when: "result.stdout != \"make: Nothing to be done for 'all'.\"" - - name: reload postfix command: /usr/sbin/postfix -c /etc/postfix check notify: ['reload postfix step 2'] diff --git a/tasks/main.yml b/tasks/main.yml index e03bff63bfa16946bd7b7e7a5dc49e4bc118195d..9729187e3129101f8eadc3761ed855d41ef19e2c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,6 @@ owner: root group: root mode: 0644 - notify: ['make postfix'] - name: Generate Postfix sasl_passwd map template: