bngsudheer.opendkim

Role Name

Ansible role to set up OpenDKIM and sign keys.

Dependencies

For Enterprise Linux (EL) systems, the OpenDKIM package can be obtained from EPEL (Extra Packages for Enterprise Linux). Please enable EPEL before using this role.

Role Variables

  • dkim_admin_email: The admin's email address
  • dkim_selector: The name of the DKIM selector
  • dkim_domains: A list of domain names for which keys need to be signed.

Example Playbook

Here’s an example of how to use the role, with variables provided as parameters:

---
  - 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 the main 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. This role originates from https://github.com/sunfoxcz/ansible-dkim.

Informazioni sul progetto

Ansible Role to install opendkim and setup DKIM for domains.

Installa
ansible-galaxy install bngsudheer.opendkim
Licenza
bsd-3-clause
Download
2.1k
Proprietario
Software developer and DevOps consultant