From 22c3202fcf745d667b9ae4eb4a2037cc85bd613e Mon Sep 17 00:00:00 2001 From: Alexander U Date: Wed, 1 May 2024 11:38:28 -0400 Subject: [PATCH] Add support for fully qualified collection name in become_method --- ansible_mitogen/connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible_mitogen/connection.py b/ansible_mitogen/connection.py index dfc3aec4..48158265 100644 --- a/ansible_mitogen/connection.py +++ b/ansible_mitogen/connection.py @@ -419,7 +419,9 @@ CONNECTION_METHOD = { 'ssh': _connect_ssh, 'smart': _connect_ssh, # issue #548. 'su': _connect_su, + 'ansible.builtin.su': _connect_su, 'sudo': _connect_sudo, + 'ansible.builtin.sudo': _connect_sudo, 'doas': _connect_doas, 'mitogen_su': _connect_mitogen_su, 'mitogen_sudo': _connect_mitogen_sudo,