From bc82bd2a4b18661868a4c1bbc816555797d69fb3 Mon Sep 17 00:00:00 2001 From: "m.pirog@bonasoft.pl" Date: Tue, 8 Oct 2024 14:35:24 +0200 Subject: [PATCH] fix: allow ansible_user and become_user to be templates #1083 --- 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 bff27d162..219398020 100644 --- a/ansible_mitogen/transport_config.py +++ b/ansible_mitogen/transport_config.py @@ -443,7 +443,7 @@ def become_method(self): return self._play_context.become_method def become_user(self): - return self._play_context.become_user + return self._connection_option('become_user') def become_pass(self): # become_pass is owned/provided by the active become plugin. However