diff options
-rw-r--r-- | roles/mail/tasks/dkim-genkey.yml | 2 | ||||
-rw-r--r-- | roles/mail/tasks/main.yml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/mail/tasks/dkim-genkey.yml b/roles/mail/tasks/dkim-genkey.yml index e68dad5..e3d0ec3 100644 --- a/roles/mail/tasks/dkim-genkey.yml +++ b/roles/mail/tasks/dkim-genkey.yml @@ -13,7 +13,7 @@ - name: (local) opendkim - generate domain private key become: false command: > - openssl genrsa + openssl genrsa -out "{{ domain_keyfile }}" "{{ mail.dkim.bits }}" delegate_to: localhost when: not stat_result.stat.exists diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index 59f1b0c..b16059b 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -4,9 +4,10 @@ name: "{{ item }}" state: present with_items: + - opendkim - postfix - dovecot - - opendkim + - dovecot-pigeonhole - name: opendkim - create directory file: |