From e6298f56add2ca25be5932fab1feb7d010bc8710 Mon Sep 17 00:00:00 2001 From: Chris Coley <chris@codingallnight.com> Date: Tue, 19 Jun 2018 12:37:13 -0700 Subject: [PATCH] Removing the generic 'make postfix' handler. There's no reason to make all the map files at once, and doing so removes any granular feedback. --- handlers/main.yml | 10 ---------- tasks/main.yml | 1 - 2 files changed, 11 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 9b1b1ba..07ffa6c 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 e03bff6..9729187 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: -- GitLab