Mirror of a valuable repository.
 
 
Go to file
Felix Fontein 9a096dd146
Refactor module_utils/crypto.py (#27)
* Refactor module_utils/crypto.py: split up into multiple smaller modules

* Remove superfluous files.

* Fix sanity errors.

* Move CRL entry dumping code to module_utils.

* Move obj2txt usage from CRL modules to module_utils/crpyto/cryptography_crl.

* Move generic I/O functions to plugins/module_utils/io.py.

* Add helper method for retrieving serial number of certificate.

* Add compatibility code into __init__.py.

* Fix syntax error, and add ignore.txt entries for non-empty __init__.
2020-05-12 11:19:42 +02:00
changelogs/fragments Add more changelog fragments from pre-ansible-base. (#31) 2020-04-12 19:04:42 +02:00
meta Rename openssl_certificate* to x509_certificate* (#7) 2020-04-06 14:34:24 +02:00
plugins Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
tests Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
.gitignore Initial commit 2020-03-09 13:11:34 +00:00
COPYING Add proper README and update COPYING (#10) 2020-04-01 15:17:37 +02:00
README.md Rename openssl_certificate* to x509_certificate* (#7) 2020-04-06 14:34:24 +02:00
galaxy.yml Fix URLs (: -> /). (#33) 2020-04-17 17:29:50 +02:00
shippable.yml Update CI from RHEL 8.1 to 8.2. (#40) 2020-04-30 22:33:58 +02:00

README.md

Ansible Community Crypto Collection

Shippable build status Codecov

Provides modules for Ansible for various cryptographic operations.

Tested with Ansible

Tested with both the current Ansible 2.9 release and the current development version of Ansible.

External requirements

The exact requirements for every module are listed in the module documentation. Most modules require a recent enough version of the Python cryptography library. See the module documentations for the minimal version supported for each module.

Included content

  • OpenSSL / PKI modules:
    • openssl_csr_info
    • openssl_csr
    • openssl_dhparam
    • openssl_pkcs12
    • openssl_privatekey_info
    • openssl_privatekey
    • openssl_publickey
    • x509_certificate_info
    • x509_certificate
    • x509_crl_info
    • x509_crl
    • certificate_complete_chain
  • OpenSSH modules:
    • openssh_cert
    • openssh_keypair
  • ACME modules:
    • acme_account_info
    • acme_account
    • acme_certificate
    • acme_certificate_revoke
    • acme_challenge_cert_helper
    • acme_inspect
  • ECS modules:
    • ecs_certificate
    • ecs_domain
  • Miscellaneous modules:
    • get_certificate
    • luks_device

Using this collection

See Ansible Using collections for more details.

Contributing to this collection

We're following the general Ansible contributor guidelines; see Ansible Community Guide.

If you want to clone this repositority (or a fork of it) to improve it, you can proceed as follows:

  1. Create a directory ansible_collections/community;
  2. In there, checkout this repository (or a fork) as crypto;
  3. Add the directory containing ansible_collections to your ANSIBLE_COLLECTIONS_PATHS.

Release notes

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See COPYING to see the full text.