diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-05 19:10:46 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:35:08 +0800 |
commit | d6a4f14be9e45cf3d883ee90de90d548ca1f0d5e (patch) | |
tree | 0fa35027041489918f4f0232b92287d6d37401cb | |
parent | f0459bf428ad3f00fc81b082cca1adc7391da297 (diff) | |
download | ansible-dfly-vps-d6a4f14be9e45cf3d883ee90de90d548ca1f0d5e.tar.bz2 |
mail: install dovecot-pigeonhole
-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: |