# ansible play getting failed due to sudo issue

**URL:** <https://forum.ansible.com/t/ansible-play-getting-failed-due-to-sudo-issue/23100>\
**Category:** Ansible Project\
**Created:** [November 25, 2016, 3:25pm UTC](https://forum.ansible.com/t/ansible-play-getting-failed-due-to-sudo-issue/23100 "2016-11-25T15:25:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stack4cl](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@stack4cl](https://forum.ansible.com/u/stack4cl)\
**Post date:** [November 25, 2016, 3:25pm UTC](https://forum.ansible.com/t/ansible-play-getting-failed-due-to-sudo-issue/23100/1 "2016-11-25T15:25:58Z")

</div>

Issue -

[sysadm@ccldevcftsebs1 ~]$ sudo yum repolist -v  
[sudo] password for sysadm:

User part of wheel group and still its asking password ,any idea to fix it ?

[sysadm@ccldevcftsebs1 ~]$ id sysadm  
uid=504(sysadm) gid=100(users) groups=10(wheel),100(users)

play -

---

<div class="post-metadata">

**Author:** ![Rodolfo\_Casas](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@Rodolfo\_Casas](https://forum.ansible.com/u/Rodolfo_Casas)\
**Post date:** [November 25, 2016, 4:55pm UTC](https://forum.ansible.com/t/ansible-play-getting-failed-due-to-sudo-issue/23100/2 "2016-11-25T16:55:15Z")

</div>

I think that is normal behaviour with sudo.

Unless you specifically configure a to use sudo without password.

Check doc about SUDO  
Rodolfo
