# Is --user meant to override the remote\_user in the playbook? Because it doesn't seem to

**URL:** <https://forum.ansible.com/t/is-user-meant-to-override-the-remote-user-in-the-playbook-because-it-doesnt-seem-to/21155>\
**Category:** Ansible Project\
**Created:** [April 13, 2016, 10:52pm UTC](https://forum.ansible.com/t/is-user-meant-to-override-the-remote-user-in-the-playbook-because-it-doesnt-seem-to/21155 "2016-04-13T22:52:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Grigonis](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Josh\_Grigonis](https://forum.ansible.com/u/Josh_Grigonis)\
**Post date:** [April 13, 2016, 10:52pm UTC](https://forum.ansible.com/t/is-user-meant-to-override-the-remote-user-in-the-playbook-because-it-doesnt-seem-to/21155/1 "2016-04-13T22:52:12Z")

</div>

If this is the start of my playbook:

`

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 14, 2016, 2:15pm UTC](https://forum.ansible.com/t/is-user-meant-to-override-the-remote-user-in-the-playbook-because-it-doesnt-seem-to/21155/2 "2016-04-14T14:15:22Z")

</div>

no, the command line option overrides the built in default and/or ansible.cfg, the remote\_user in the play or ansible\_user/ansible\_ssh\_user in inventory are considered ‘more specific’ and override this command line setting.
