dovecot: install also if dovecot.service=False in SystemdEnabled Fact

This commit is contained in:
missytake
2026-02-10 12:07:18 +01:00
committed by j4n
parent cf96be2cbb
commit 2ce9e5fe78

View File

@@ -22,7 +22,7 @@ class DovecotDeployer(Deployer):
def install(self):
arch = host.get_fact(Arch)
if not "dovecot.service" in host.get_fact(SystemdEnabled):
if not host.get_fact(SystemdEnabled).get("dovecot.service"):
_install_dovecot_package("core", arch)
_install_dovecot_package("imapd", arch)
_install_dovecot_package("lmtpd", arch)