summaryrefslogtreecommitdiff
path: root/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Refreshed metadata for extras modulesToshio Kuratomi2016-12-062-0/+8
|
* Use native YAML in the examples (#3441)Fabio Alessandro Locati2016-11-112-12/+22
|
* Fix python3 syntax for octal numbersToshio Kuratomi2016-11-021-1/+1
|
* network: Add new module openssl_privatekeyYanis Guenane2016-10-273-0/+471
This module aims to allow a user to manage the lifecycle of OpenSSL private keys. Internally it relies on the pyOpenSSL python library to interact with openssl. A user is able to specify : * key size (via `size` parameter) * key algorithm (via `type` parameter) * key location (via `path` parameter) The most simple use case is: ``` - name: Generate ansible.com.pem SSL private key openssl_privatekey: name=ansible.com.pem path=/etc/ssl/private ``` A user can speficy more settings: ``` - name: Generate ansible.com.pem SSL private key openssl_privatekey: name=ansible.com.pem path=/etc/ssl/private size=2048 type=DSA ``` A user can also force the regeneration of an SSL key: ``` - name: Generate ansible.com.pem SSL private key openssl_privatekey: name=ansible.com.pem path=/etc/ssl/private force=true ```