Skip to content

❗ Moved ❗ Ansible role to set up Diffie-Hellman parameters.

License

Notifications You must be signed in to change notification settings

noplanman/ansible-role-dhparam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for Diffie-Hellman parameters

Build Status

Generates Diffie-Hellman parameters on Debian/Ubuntu servers.

Requirements

When generating the parameters on your local machine, you need openssl installed. It is recommended that you set dhparam_create_on_local_machine to yes.

Role Variables

dhparam_create_on_local_machine: no
dhparam_size: 4096
dhparam_path: "/etc/ssl/certs/dhparam-{{ dhparam_size }}.pem"
# (no, reboot, hourly, daily, weekly, monthly, annually, yearly)
dhparam_periodic_update: no

Role Tags

Each part of the setup has a tag.

dhparam:install
dhparam:cron

Dependencies

None.

Example Playbook

---
- hosts: servers
  become: yes
  roles:
    - noplanman.dhparam

License

MIT