ansible/ansible — pull request #3022 by jeromew (2013-05-26 14:26:54+00:00)
Title: actual user used for executing play available as 'ansible_ssh_user'

Hello,

after our conversation on the mailing list I think this pull request adds a 'ansible_ssh_user' containing the actual user among the injected variables.

it is more than 1 line because module_args and complex_args rendering was done before the final evaluation of the actual_user.

Tell me if this seems ok for you