My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Ansible playbook in sudo_user mode ?

Ansible playbook in sudo_user mode ?

anuj tyagi's photo
anuj tyagi
·Mar 15, 2016

I have a setup of One Ansible Master machine and two other VM nodes on which I am testing Apache configuration through playbook. Password-less ssh is working but I am going to those systems in user mode.

So, when I am running playbook it's logging in to the system in user mode and then trying to install Apache but it's asking for user password before installation and then throwing permission denied error.

I have tried with --ask-sudo-pass option while running playbook but still same error.

How to resolve this issue ? screenshot: http://postimg.org/image/tzqo056jh/