Felix Fontein
3f0e292246
Add 'idempotent' attribute ( #833 )
...
* Add 'idempotent' attribute.
* Mention check mode in attribute description.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-30 21:11:12 +01:00
Felix Fontein
942be86635
Reformat documentation with 'andebox yaml-doc' ( #828 )
...
* Reformat documentation with 'andebox yaml-doc'.
* Fix/improve.
* Remaining fixes.
* One more.
2024-12-28 16:00:28 +00:00
Felix Fontein
6b1a3d6e68
Add conversion filters for serial numbers ( #713 )
...
* Refactoring.
* Add parse_filter and to_filter plugins.
* Mention filters when serial numbers are accepted or returned.
2024-02-18 21:27:48 +01:00
Felix Fontein
99d1521266
Use semantic markup ( #626 )
...
* Enable semantic markup.
* Use semantic markup.
* Break long lines.
* Add ignores.
* Use real option, not alias.
2023-06-24 10:00:56 +02:00
Felix Fontein
c173449c46
Add x509_crl_info filter ( #558 )
...
* Add x509_crl_info filter.
* Work around bugs in Ansible 2.9 and ansible-base 2.10.
2022-12-31 07:56:34 +01:00
Felix Fontein
7bbe8f467c
Document attributes ( #526 )
...
* Add 'acme' action group attribute.
* Compatibility with older ansible-core releases.
* Fix typo.
* Document standard attributes.
* Improve docs.
* Add shortcuts for common combinations.
2022-11-06 21:10:56 +01:00
Felix Fontein
0e15d6cea8
Convert yes/no to true/false. ( #503 )
2022-08-23 21:33:29 +02:00
Felix Fontein
2dafef1fab
Fix docs ( #497 )
...
* Fix docs.
* Fix YAML.
* Prevent crashes with older pyyaml versions.
2022-08-04 20:02:56 +02:00
Felix Fontein
6bf3ef47e1
Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml ( #491 )
...
* Add SPDX license identifiers, mention all licenses in galaxy.yml.
* Add default copyright headers.
* Add headers for documents.
* Fix/add more copyright statements.
* Add copyright / license info for vendored code.
* Add extra sanity test.
* Add changelog fragment.
* Comment PSF-2.0 license out in galaxy.yml for now.
* Remove colon after 'Copyright'.
* Avoid colon after 'Copyright' in lint script.
* Mention correct filename.
* Add BSD-3-Clause.
* Improve lint script.
* Update README.
* Symlinks...
2022-07-21 07:27:26 +02:00
Felix Fontein
4cf951596f
Improve handling of IDNA/Unicode domains ( #436 )
...
* Prepare IDNA/Unicode conversion code. Use to normalize input.
* Use IDNA library first (IDNA2008) and Python's IDNA2003 implementation as a fallback.
* Make sure idna is installed.
* Add changelog fragment.
* 'punycode' → 'idna'.
* Add name_encoding options and tests.
* Avoid invalid character for IDNA2008.
* Linting.
* Forgot to upate value.
* Work around cryptography bug. Fix port handling for URIs.
* Forgot other place sensitive to cryptography bug.
* Forgot one. (Will likely still fail.)
* Decode IDNA in _compress_entry() to avoid comparison screw-ups.
* Work around Python 3.5 problem in Ansible 2.9's default test container.
* Update changelog fragment.
* Fix error, add tests.
* Python 2 compatibility.
* Update requirements.
2022-05-09 19:57:14 +02:00
Felix Fontein
9658a34605
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters. ( #253 )
2021-06-26 13:45:28 +02:00
Felix Fontein
69aeb2d86f
x509_crl_info: allow to not enumerate revoked certificates ( #232 )
...
* Allow to not enumerate revoked certificates.
* Forgot to remove one instance.
* Add example.
2021-05-19 09:32:30 +02:00
Felix Fontein
6c5a0c6df1
x509_crl_info: move main code to module_utils to allow easier implementation of diff mode ( #203 )
...
* Move x509_crl_info code to module_utils.
* Add changelog fragment.
* Make sure PyOpenSSL is also installed.
* Implement review comments.
2021-05-12 23:30:19 +02:00
Felix Fontein
c7ef362d7a
openssl_pkcs12: allow to specify certificate bundles in other_certificates ( #166 )
...
* Rename identify.py to pem.py.
* Move split PEM list code to pem.py crypto module_utils.
* Extend and use global certificate splitting code in acme_certificate.
* openssl_pkcs12: allow to load multiple certificates from files mentioned in other_certificates.
* Add changelog and module_utils redirect.
* Remove old check.
* Fix typo.
* Apply suggestions from code review
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Add example.
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2021-01-26 10:21:49 +01:00
Andrew Klychkov
b2e13d3c03
Documentation: fix modules formatting ( #161 )
...
* Documentation: fix modules formatting
* Apply suggestions from code review
* Fix sanity
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-12-19 17:15:10 +01:00
Felix Fontein
109edecd78
Add version_added: 1.0.0 for all new features. ( #37 )
2020-06-29 15:21:35 +02:00
Toshio Kuratomi
cc45650e82
Use fqcn for modules listed in M() and seealso. ( #72 )
2020-06-17 10:29:18 +02:00
Felix Fontein
de3c99eeac
Add support for CRLs in DER format. ( #29 )
2020-05-15 09:57:07 +02:00
Felix Fontein
9e5969a644
Remove ANSIBLE_METADATA from modules. ( #49 )
2020-05-14 13:22:12 +02:00
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
Felix Fontein
4d157b93ee
Use FQCN in examples. ( #12 )
2020-03-31 16:23:45 +02:00
Felix Fontein
70615300fb
Remove dependency on ansible.netcommon collection ( #2 )
...
* Get rid of ansible.netcommon requirement by integrating module_utils/compat/ipaddress.py.
* Reorder imports.
* Update ignore.txt for plugins/module_utils/compat/ipaddress.py.
* Linting (flake8 / pep8).
* Remove accidentally commited test for ansible/ansible#66920 .
2020-03-29 18:44:40 +02:00
Ansible Core Team
a9f45b4d5b
Initial commit
2020-03-09 13:11:34 +00:00