dhparam

What is ansible-dhparam? Build Status

It is an Ansible role to:

  • Generate a dh-parameter file on your local machine
  • Move it to a target server

Role variables

dhparams_key_size: 4096
dhparams_remote_directory: /etc/ssl/ansible
dhparams_filename: dhparams.pem
dhparams_owner: root
dhparams_group: root
dhparams_mode: u=rw,g=r,o=r
dhparams_directory_mode: u=rw,g=r,o=r

Example usage

---
- name: Generate dhparams for remote server
  hosts: all

  vars:
    dhparams_key_size: 2048

  roles:
    - role: duckle29.dhparam

Installation

$ ansible-galaxy install duckle29.dhparam

Ansible Galaxy

You can find it on the official Ansible Galaxy if you want to rate it.

License

MIT

About

Locally generate dhparamters and transfer them

Install
ansible-galaxy install Duckle29/ansible-dhparam
GitHub repository
License
mit
Downloads
54