Commit ec9bd970 authored by Florian Pritz's avatar Florian Pritz
Browse files

opendkim: Fix missing dir and incorrect path

Signed-off-by: Florian Pritz's avatarFlorian Pritz <>
parent 8d5a22ad
......@@ -13,8 +13,10 @@
- restart opendkim
- file: path="/etc/opendkim/private" state=directory owner=root group=root mode=0700
- name: generate DKIM key for {{dkim_selector}}
command: opendkim-genkey -r -s {{dkim_selector}} -d --bits=4096 creates=/etc/opendkim/private/{{dkim_selector}}
command: opendkim-genkey -r -s {{dkim_selector}} -d --bits=4096 creates=/etc/opendkim/private/{{dkim_selector}}.private
- name: start and enable opendkim
service: name=opendkim enabled=yes state=started
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment