Various issues with become variables when using delegate_to in a loop #1020
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
bug
Code feature that hinders desired execution outcome
The easiest way to see the issue is just by using a simple play that calls the
mitogen_get_stack
module and uses thedelegate_to
option with a loop:When you run this on a simple inventory of 2 hosts with one host using sudo and the other using su - you will see that the
sudo
/su
data is incorrect for one of the hosts. You will get garbage like the following for one of the hosts:I've been able to come up with something that sort of roughly resolves my issue:
I encountered the bug with mitogen 0.3.4 and I am currently using Ansible 2.11.12. I am happy to submit the above in a PR but I noticed you had a couple of PR's working on similar areas in the transport_config. Let me know if I can help get this addressed.
The text was updated successfully, but these errors were encountered: