On 04.10.2018 11:47, Rajendra Rawat wrote:
I have ran the playbook with -vvvv option.

Bassed on the output i still thing something is missing with the sudoers configuration, you need to check logs and configuration.

This will print the groups your user is a member off
  ansible xyz.com -a id

You should also check the auth/secure log in /var/log/ (I think the file is called secure in RHEL realm) it should have some information about why user is denied sudo access.

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/80db9a8b389e990d505c10dee19c7bb9%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to