opendkim

Role Name

Ansbile role to setup opendkim and sign keys.

Dependncies

For EL systems, the opendkim package is available from EPEL. Enable EPEL before using this role.

Role Variables

  • dkim_admin_email: The email address of the admin
  • dkim_selector: The name of the dkim selector
  • dkim_domains: List of domain names for which keys have to be signed.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

---
  - hosts: all
    vars:
      dkim_selector: default
      dkim_domains:
        - example.com
        - example.org
    roles:
      - role: bngsudheer.opendkim

In this example, example.com will be used as primary domain.

Example with EPEL:

---
  - hosts: all
    vars:
      admin_email: [email protected]
      dkim_selector: default
      dkim_domains:
        - example.com
        - example.org
    roles:
      - role: bngsudheer.centos_base
      - role: bngsudheer.opendkim

License

BSD

Author Information

Written by Sudheer Satyanarayana. Originally forked from https://github.com/sunfoxcz/ansible-dkim.

About

Ansible Role to install opendkim and setup DKIM for domains.

Install
ansible-galaxy install bngsudheer/ansible-role-dkim
GitHub repository
License
bsd-3-clause
Downloads
2015
Owner
Software developer and DevOps consultant