# variable for the user running ansible-playbook on the control machine

**URL:** <https://forum.ansible.com/t/variable-for-the-user-running-ansible-playbook-on-the-control-machine/14061>\
**Category:** Ansible Project\
**Created:** [December 4, 2013, 5:54pm UTC](https://forum.ansible.com/t/variable-for-the-user-running-ansible-playbook-on-the-control-machine/14061 "2013-12-04T17:54:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerome\_Wagner](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Post date:** [December 4, 2013, 5:54pm UTC](https://forum.ansible.com/t/variable-for-the-user-running-ansible-playbook-on-the-control-machine/14061/1 "2013-12-04T17:54:07Z")

</div>

Hello,

I may have missed something, but is there a variable like {{ ansible\_control\_user }} that interpolates to the current user that is executing the ansible-playbook command ?

thanks  
Jerome
