From 9aff7998977a3e8d60c70d1fb0411345a3268aff Mon Sep 17 00:00:00 2001 From: Claude Becker Date: Sun, 6 Jun 2021 18:14:52 +0200 Subject: [PATCH] revert to single "vars" key --- ansible_mitogen/transport_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/transport_config.py b/ansible_mitogen/transport_config.py index 9bea4ee7..2cadddbe 100644 --- a/ansible_mitogen/transport_config.py +++ b/ansible_mitogen/transport_config.py @@ -464,7 +464,7 @@ class PlayContextSpec(Spec): ) def ssh_args(self): - variables = self._task_vars["vars"].get("vars", {}) + variables = self._task_vars.get("vars", {}) return [ mitogen.core.to_text(term) for s in (