diff --git a/changelogs/fragments/openssl_certificate-generate-acme-missing-space.yaml b/changelogs/fragments/openssl_certificate-generate-acme-missing-space.yaml new file mode 100644 index 00000000000..58d5a174b5b --- /dev/null +++ b/changelogs/fragments/openssl_certificate-generate-acme-missing-space.yaml @@ -0,0 +1,2 @@ +bugfixes: + - openssl-certificate - Add space between arguments for acme-tiny (https://github.com/ansible/ansible/pull/36739) diff --git a/lib/ansible/modules/crypto/openssl_certificate.py b/lib/ansible/modules/crypto/openssl_certificate.py index f2c75151843..453658a1e25 100644 --- a/lib/ansible/modules/crypto/openssl_certificate.py +++ b/lib/ansible/modules/crypto/openssl_certificate.py @@ -771,7 +771,7 @@ class AcmeCertificate(Certificate): chain = '--chain' try: - crt = module.run_command("%s %s --account-key %s --csr %s" + crt = module.run_command("%s %s --account-key %s --csr %s " "--acme-dir %s" % (acme_tiny_path, chain, self.accountkey_path, self.csr_path,