Level 1 Ansible tasks - Task 2 Create ansible inventory for app server testing

Team, Need sudo or root password to perform this specific task. the information is not available in the task documentations. Could you please help on this.
thanks

To use sudo, then the password of the logged in user is what is expected…

tony@stapp01# sudo vi ... 
Enter password for tony:

All passwords are here Nautilus

Hi Alistair,
Thank you for your response.
The issue i am facing is that there is a task where we need to install a package on a app server. and that requires root password as per the ansible-playbook defined in the task.

I have not done this task as Ansible isn’t really my bag and I avoid it as much as possible :wink:

If you need to become on the remote server, then you may need to setup password-less SSH to the target server for the current user on the control node (running the playbook) - if not already done, and also add the current user to the remote server’s sudoers file to allow that user to become root without additional authentication.