fix: Use double quotes for domain in acmetool desired file removal command.

This commit is contained in:
Omid Zamani
2026-01-03 12:37:17 +01:00
parent b58aad9099
commit 32f4017cb4

View File

@@ -63,7 +63,7 @@ class AcmetoolDeployer(Deployer):
server.shell(
name=f"Remove old acmetool desired files for {self.domains[0]}",
commands=[f"rm -f /var/lib/acme/desired/'{self.domains[0]}'-*"],
commands=[f'rm -f /var/lib/acme/desired/"{self.domains[0]}"-*'],
)
files.template(
src=importlib.resources.files(__package__).joinpath("desired.yaml.j2"),