From 27eea671dc5016362ee569d51c061d5639e9543d Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 15 Jul 2024 14:22:21 +0200 Subject: [PATCH] fix pyinfra run to account for new pyinfra release --- cmdeploy/src/cmdeploy/cmdeploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/cmdeploy.py b/cmdeploy/src/cmdeploy/cmdeploy.py index 28d1439e..7e5a201c 100644 --- a/cmdeploy/src/cmdeploy/cmdeploy.py +++ b/cmdeploy/src/cmdeploy/cmdeploy.py @@ -64,7 +64,7 @@ def run_cmd(args, out): env["CHATMAIL_INI"] = args.inipath deploy_path = importlib.resources.files(__package__).joinpath("deploy.py").resolve() pyinf = "pyinfra --dry" if args.dry_run else "pyinfra" - cmd = f"{pyinf} --ssh-user root {args.config.mail_domain} {deploy_path}" + cmd = f"{pyinf} --ssh-user root {args.config.mail_domain} {deploy_path} -y" retcode = out.check_call(cmd, env=env) if retcode == 0: