1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
This commit is contained in:
Michael Scherer 2018-02-26 15:15:17 +01:00 committed by ansibot
parent ff0f6286d7
commit eb162bdf7f

View file

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