summaryrefslogtreecommitdiffstats
path: root/changelogs
diff options
context:
space:
mode:
authorFelix Fontein <felix@fontein.de>2019-03-25 14:20:53 +0100
committerMartin Krizek <martin.krizek@gmail.com>2019-03-25 14:20:52 +0100
commitd7a273273af51bf439093b423e21780d600af267 (patch)
treede03a53f2d83148bcafbe04608d683bff7b25664 /changelogs
parentopenssl_certificate, openssl_csr: refactoring / cleanup (#54287) (diff)
downloadansible-d7a273273af51bf439093b423e21780d600af267.tar.xz
ansible-d7a273273af51bf439093b423e21780d600af267.zip
openssl_*: proper mode support (#54085)
* Add write helper. * Adjust modules (except openssl_certificate). * Adding tests for mode (with openssl_privatekey). * Add openssl_certificate support. * Never, ever remove the output file before actually trying to generate new content for it. Removal is only allowed when state=absent, or when the object has been regenerated and the result needs to be written to that place. * Add changelog. * Extend test.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/54085-openssl-mode-writing.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/fragments/54085-openssl-mode-writing.yaml b/changelogs/fragments/54085-openssl-mode-writing.yaml
new file mode 100644
index 0000000000..4ba0320a82
--- /dev/null
+++ b/changelogs/fragments/54085-openssl-mode-writing.yaml
@@ -0,0 +1,5 @@
+minor_changes:
+- "openssl_pkcs12, openssl_privatekey, openssl_publickey - These modules no longer delete the output file before starting to regenerate the output, or when generating the output failed."
+bugfixes:
+- "openssl_pkcs12, openssl_privatekey - These modules now accept the output file mode in symbolic form or as a octal string (https://github.com/ansible/ansible/issues/53476)."
+- "openssl_certificate, openssl_csr, openssl_pkcs12, openssl_privatekey, openssl_publickey - The modules are now able to overwrite write-protected files (https://github.com/ansible/ansible/issues/48656)."