From 42214db06e67d880750c51ef4623d9da679c50c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 25 Jul 2023 17:03:48 +0200 Subject: [PATCH] fix smtpgateway --- roles/smtpgateway/tasks/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/smtpgateway/tasks/main.yaml b/roles/smtpgateway/tasks/main.yaml index 210c4e1..532eca1 100644 --- a/roles/smtpgateway/tasks/main.yaml +++ b/roles/smtpgateway/tasks/main.yaml @@ -12,7 +12,8 @@ dest: /etc/postfix/main.cf - name: Build /etc/mailname - ansible.builtin.shell: hostname --fqdn > /etc/mailname + ansible.builtin.shell: + cmd: "hostname --fqdn > /etc/mailname" - name: Restart Postfix ansible.builtin.service: