Re: [ansible-project] Obtain the user specified via '-u' cli option

2017-02-07 Thread Johannes Kastl
On 06.02.17 22:04 Michael Spiegle wrote: > At some point in Ansible 2.0.x, the '{{ansible_user}}' variable > would reflect the argument passed to ansible-playbook '-u'. It > doesn't appear to be doing this any more, and I can't seem to find > a way to obtain the value that was passed into '-u'.

[ansible-project] Obtain the user specified via '-u' cli option

2017-02-06 Thread Michael Spiegle
At some point in Ansible 2.0.x, the '{{ansible_user}}' variable would reflect the argument passed to ansible-playbook '-u'. It doesn't appear to be doing this any more, and I can't seem to find a way to obtain the value that was passed into '-u'. Is there a known way to do this? My specific