mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00: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:
@@ -758,7 +758,7 @@ class AcmeCertificate(Certificate):
|
|||||||
chain = '--chain'
|
chain = '--chain'
|
||||||
|
|
||||||
try:
|
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,
|
"--acme-dir %s" % (acme_tiny_path, chain,
|
||||||
self.accountkey_path,
|
self.accountkey_path,
|
||||||
self.csr_path,
|
self.csr_path,
|
||||||
|
|||||||
Reference in New Issue
Block a user