Is there a way to find which user invoked a workflow? The “tower_user_name” extra_var is undefined when a workflow is launched.
Huh, that should be provided. We have worked to touch up the AWX metavars that go into playbooks.
I expect awx_user_name and tower_user_name to reflect the user who launched the workflow. If you find that the outcome doesn’t match those expectations, we would love for you to file an issue. Thanks!
The meta vars are passed as expected when a user launches a job template but they are not passed when a workflow is launched, which is weird.
I am on AWX version 1.0.5.20 and Ansible version 2.5. I will update AWX to the latest version and file an issue if I encounter the same behavior.
Thanks.