From 8a479eee3f6ecbad079474b42a752abb06a35db2 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 15 Nov 2017 12:00:25 +0100 Subject: [PATCH] postfix: quote shell command --- postfix/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/tasks/main.yml b/postfix/tasks/main.yml index 714787d6..6272be33 100644 --- a/postfix/tasks/main.yml +++ b/postfix/tasks/main.yml @@ -1,6 +1,6 @@ --- - name: check if main.cf is default - shell: grep -v -E "^(myhostname|mydestination|mailbox_command)" /etc/postfix/main.cf | md5sum - + shell: 'grep -v -E "^(myhostname|mydestination|mailbox_command)" /etc/postfix/main.cf | md5sum -' changed_when: False check_mode: no register: default_main_cf