postfix: quote shell command

This commit is contained in:
Jérémy Lecour 2017-11-15 12:00:25 +01:00 committed by Jérémy Lecour
parent da3838e3e9
commit 8a479eee3f

View file

@ -1,6 +1,6 @@
--- ---
- name: check if main.cf is default - 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 changed_when: False
check_mode: no check_mode: no
register: default_main_cf register: default_main_cf