https://github.com/noplanman/ansible-role-dhparam
:exclamation: Moved :exclamation: Ansible role to set up Diffie-Hellman parameters.
https://github.com/noplanman/ansible-role-dhparam
ansible ansible-role dhparam diffie-hellman-parameters
Last synced: about 2 months ago
JSON representation
:exclamation: Moved :exclamation: Ansible role to set up Diffie-Hellman parameters.
- Host: GitHub
- URL: https://github.com/noplanman/ansible-role-dhparam
- Owner: noplanman
- License: mit
- Created: 2017-05-11T18:34:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T23:22:15.000Z (about 9 years ago)
- Last Synced: 2025-03-20T19:09:13.978Z (about 1 year ago)
- Topics: ansible, ansible-role, dhparam, diffie-hellman-parameters
- Homepage: https://git.feneas.org/noplanman/ansible-role-dhparam
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role for Diffie-Hellman parameters
[![Build Status][1]][2]
Generates [Diffie-Hellman parameters][3] 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
[1]: https://travis-ci.org/noplanman/ansible-role-dhparam.svg?branch=master "Travis-CI Build Status"
[2]: https://travis-ci.org/noplanman/ansible-role-dhparam "Travis-CI Tests"
[3]: https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html#Forward_Secrecy_&_Diffie_Hellman_Ephemeral_Parameters "Diffie-Hellman parameters"