Mitogen uses "ansible_ssh_common_args/ansible_ssh_extra_args" of main group to connect to "delegated_to:" hosts #909
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
bug
Code feature that hinders desired execution outcome
Migrating from Ansible 2.9.25/Mitogen 0.2.10rc1 to Ansible 5.4.0/Mitogen 0.3.2 I've detected that new version of Mitogen uses ansible_ssh_common_args/ansible_ssh_extra_args of main group which specified in "hosts:" parameter of play, to connect to "delegated_to:" hosts.
I'm sure it's a bug.
Ansible controller: macOS Monterey (12.1)
Target hosts:
Inventory file:
Example play:
ansible.cfg:
Output:
As you can see from the text above, the parameter "-o ForwardX11=no" is set to connect to the host of "group1" (task "Get hostnames of group1 hosts"), which is correct, and to connect to "delegated_to" the host "test-mitogen-2" (task "Run 'hostname' on delegated host"), which is not the expected behavior.
Is your version of Ansible patched in any way?
No
Are you running with any custom modules, or module_utils loaded?
No
Have you tried the latest master version from Git?
Yes, with the same result (commit id 5b505f5)
The text was updated successfully, but these errors were encountered: