summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scherer <mscherer@users.noreply.github.com>2018-02-26 15:15:17 +0100
committeransibot <ansibot@users.noreply.github.com>2018-02-26 09:15:17 -0500
commiteb162bdf7f0b29ef0cc29bbb20c0fa871519910e (patch)
treedd81f0c2a9e84994e3491f6fd2b3012d889d06c3
parentff0f6286d73f72bc4e284fa21269bb72ac16611b (diff)
downloadansible-eb162bdf7f0b29ef0cc29bbb20c0fa871519910e.tar.gz
Add space between arguments for acme-tiny (#36739)
Currently, the module fail with a error saying that --acme-dir is mandatory. Looking at the commandline: /usr/sbin/acme-tiny --chain --account-key /srv/letsencrypt/acme_key/acme.key --csr /srv/letsencrypt/nginx_certs/www.example.org.csr--acme-dir /srv/letsencrypt/webroot", We can see that the space before --acme-dir is missing.
-rw-r--r--lib/ansible/modules/crypto/openssl_certificate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/crypto/openssl_certificate.py b/lib/ansible/modules/crypto/openssl_certificate.py
index 7d62a8cd49..cb025c286f 100644
--- a/lib/ansible/modules/crypto/openssl_certificate.py
+++ b/lib/ansible/modules/crypto/openssl_certificate.py
@@ -758,7 +758,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,