diff --git a/roles/mail_forwarder/handlers/main.yml b/roles/mail_forwarder/handlers/main.yml index 051af789d205f97be5b425d26ad604b25aad1e3f..2870cdccd4aa0847577af939b632a4ab41daacd7 100644 --- a/roles/mail_forwarder/handlers/main.yml +++ b/roles/mail_forwarder/handlers/main.yml @@ -1,7 +1,7 @@ --- - name: Rebuild mail aliases - command: /usr/bin/newaliases + command: "/usr/bin/newaliases" tags: # [ANSIBLE0012] Commands should not change things if nothing needs doing # This task is invoked only if user is very specific about requiring to @@ -10,4 +10,6 @@ - skip_ansible_lint - name: Restart Postfix - service: name="postfix" state="restarted" + service: + name: postfix + state: restarted