Skip to content

bngsudheer/ansible-role-dkim

 
 

Repository files navigation

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 and configure opendkim

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%