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.
pull/36741/merge
Michael Scherer 7 years ago committed by ansibot
parent ff0f6286d7
commit eb162bdf7f

@ -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,

Loading…
Cancel
Save