opendkim
galaxyproject.opendkim
Install and configure OpenDKIM on Debian- and RedHat-based systems.
Requirements
None
Role Variables
Most variables are self-explanatory, see the opendkim_*
variables in the defaults file for a list. A few
are explained here:
opendkim_keys
: List of keys to generate or install. Each list item is a hash with keysdomain
,selector
, andbits
corresponding to the flags toopendkim-genkey
, as well assecret
andpublic
. Ifsecret
andpublic
are not specified, the key will be generated. If they are specified, the other keys are not required (although at leastselector
is probably necessary to specify the key filenames).
Dependencies
None, but the galaxyproject.postfix role can be used in conjunction with this role to configure Postfix for DKIM mail.
Example Playbook
- hosts: all
vars:
opendkim_keys:
# generate a new key
- selector: mail
domain: example.org
bits: 2048
# provide an existing key
- selector: lists
domain: lists.example.org
secret: |
-----BEGIN RSA PRIVATE KEY-----
MII...
-----END RSA PRIVATE KEY-----
public: "v=DKIM1; h=sha256; k=rsa; p=MII..."
roles:
- galaxyproject.opendkim
License
MIT
Author Information
Install
ansible-galaxy install galaxyproject/ansible-opendkim
License
Unknown
Downloads
127
Owner
Galaxy is an open, web-based platform for data-intensive research.