patchback[bot]
7b73a83b91
Add more default license and copyright notices ( #5087 ) ( #5094 )
...
* Add more default license and copyright notices.
* Fix tests.
* Fix typos.
* Fix task type.
* Add URL to changelog fragment.
* Improve headers for setup_wildfly_server.
(cherry picked from commit 9327b12c4d
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-08 14:06:21 +02:00
patchback[bot]
1790dbd5e1
Add simple license headers, not completely at top. ( #5080 ) ( #5082 )
...
(cherry picked from commit 68e7e52557
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-05 21:56:40 +02:00
Felix Fontein
22a400d626
Add default license header to files which have no copyright or license header yet ( #5074 ) ( #5075 )
...
* Add default license header to files which have no copyright or license header yet.
* yml extension should have been xml...
(cherry picked from commit 1ab2a5f1bc
)
2022-08-05 20:16:36 +02:00
Felix Fontein
7c43cc3faa
Improve CI ( #3348 )
...
* Remove superfluous test.
* Use remote_temp_dir instead of output_dir on remote.
* Read certificate from correct place.
* Adjust more places.
* Fix boolean.
* Improve cryptography setup.
* Fix java_keystore changes.
* Need to copy binary from remote.
* Use correct Python for serve script.
* Sleep before downloading.
* Use correct Python interpreter.
* Avoid failing shebang test.
* Fix permission error with macOS 11.1.
* Avoid shebang trouble.
2021-09-09 07:31:44 +02:00
quidame
21d5668c97
java_cert: import certificate+key bundle from pkcs12 ( #3080 )
...
* import certificate+key bundle from pkcs12
* fix typo/syntax
* fix variable name
* fix passwords order and improve error handling
* add changelog fragment
* enter keystore pass only once if keystore already exists, and twice at creation
* nomalize tests
- Replace `command` tasks by dedicated (community.crypto) modules.
- Add spaces around jinja2 variable names.
- Call modules by their FQCNs.
* Add tests to check keystore has a private key
fix tests for RedHat/CentOS < 8 (run openssl command as an alternative to
`openssl_pkcs12` module)
2021-07-26 11:42:13 +02:00
absynth76
8f083d5d85
java_cert - fix incorrect certificate alias on pkcs12 import ( #2560 )
...
* fix wrong certificate alias used when importing pkcs12, modify error output, stdout is more relevant than stderr
* add changelog fragment
* fix changelog fragment
2021-05-22 13:33:27 +02:00
absynth76
40ce0f995b
Update java_cert module ( #2008 )
...
* porting https://github.com/ansible/ansible/pull/56778 as requested in https://github.com/ansible-collections/community.general/issues/821
* fix imports, add back trust_cacerts option
* try to fix import, ansible-lint fixes
* modify import to use ansible.module_utils.six instead
* cleanup indentation for tests/integration/targets/java_cert/tasks/main.yml file
* remove external crypto dependency - switch to openssl, work on password obfuscation, using files compare to reduce logic
* java_cert - remove latest run_command using password in arguments
* fix sanity check
* rename changelog fragment file - wrong extension
* add openssl dependency
* fix openssl_bin parameter missing on _get_digest_from_x509_file function call
* remove useless close files, fix paragraph, fix changelog, clean import re
* fix missing dots at end-of-line in changelogs fragments
* fix reminder case
* fix changelog
* restore .gitignore
* fix indentation on integration test files, delete useless json file
* fix typo importing tasks in tests/integration/targets/java_cert/tasks/main.yml
* Update changelogs/fragments/2008-update-java-cert-replace-cert-when-changed.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/java_cert/tasks/state_change.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/java_cert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix hardcoded executable keytool, use re.sub instead of import, add required cert_url or cert_alias parameter when absent, fix python script and cert_url test
* fix pylint issue with setupSSLServeR.py
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-04-07 19:31:58 +02:00
Felix Fontein
b3d3b108bf
Add CI tests for java_cert and java_keystore ( #1666 )
...
* Try to run java_cert tests in CI.
* Forgot to add meta/
* Exclude CentOS 6.
* Add basic java_keystore tests.
* Forgot that.
* Without a CN, keytool always claims 'keystore password was incorrect' (sigh).
* Improve/fix tests.
Apparently the module cannot handle changed passwords.
* Update tests/integration/targets/java_keystore/tasks/main.yml
Co-authored-by: Tadej Borovšak <70951+tadeboro@users.noreply.github.com>
* More simpliications.
* Fix typo.
Co-authored-by: Tadej Borovšak <70951+tadeboro@users.noreply.github.com>
2021-01-24 16:51:02 +01:00
Andrew Klychkov
9d5044ac1a
Add headers to ci tests ( #954 )
...
* CI tests: add note to main.yml
* improve
2020-09-25 08:01:17 +02:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00