From d46f990fda64610861d5b620b67e8c7d8e32390c Mon Sep 17 00:00:00 2001 From: Tomas Jacik Date: Wed, 10 Jun 2020 13:35:45 +0200 Subject: [PATCH] Galaxy: fixed some errors --- meta/main.yml | 2 +- tasks/opendkim_keys.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index a750632..49d38df 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -20,7 +20,7 @@ galaxy_info: - buster galaxy_tags: - mail - - DKIM + - dkim - antispam - postfix - opendkim diff --git a/tasks/opendkim_keys.yml b/tasks/opendkim_keys.yml index 5d30a28..4a48d4a 100644 --- a/tasks/opendkim_keys.yml +++ b/tasks/opendkim_keys.yml @@ -13,7 +13,7 @@ register: dkim_key - name: generate signing key - shell: opendkim-genkey -s {{ dkim_selector }} -d {{ dkim_domain }} -D {{ dkim_opendkim_config_dir }}/keys{{ '' if dkim_same_key else '/' ~ dkim_domain }} + command: opendkim-genkey -s {{ dkim_selector }} -d {{ dkim_domain }} -D {{ dkim_opendkim_config_dir }}/keys{{ '' if dkim_same_key else '/' ~ dkim_domain }} when: not dkim_key.stat.exists notify: - restart opendkim