acmetool: request one TLS cert for all domains

This commit is contained in:
missytake
2023-11-24 14:32:40 +01:00
parent 889e18f803
commit 0cc9f18468
2 changed files with 4 additions and 27 deletions

View File

@@ -46,8 +46,7 @@ def deploy_acmetool(nginx_hook=False, email="", domains=[]):
mode="644",
)
for domain in domains:
server.shell(
name=f"Request certificate for {domain}",
commands=[f"acmetool want {domain}"],
)
server.shell(
name=f"Request certificate for: { ', '.join(domains) }",
commands=[f"acmetool want { ' '.join(domains)}"],
)