From f78bbeb3e5746def4945b0d34272fd3edbf78412 Mon Sep 17 00:00:00 2001 From: goFrendiAsgard Date: Mon, 6 Nov 2023 23:10:32 +0000 Subject: [PATCH] add config map --- src/zrb/task/base_remote_cmd_task.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zrb/task/base_remote_cmd_task.py b/src/zrb/task/base_remote_cmd_task.py index f1e864ed..bb03553b 100644 --- a/src/zrb/task/base_remote_cmd_task.py +++ b/src/zrb/task/base_remote_cmd_task.py @@ -34,13 +34,15 @@ def __init__( user: str = '', password: str = '', ssh_key: str = '', - port: int = 22 + port: int = 22, + config_map: Optional[Mapping[str, str]] = None ): self.host = host self.user = user self.password = password self.ssh_key = ssh_key self.port = port + self.config_map = {} if config_map is None else config_map @typechecked