How to provide Password directly to the ansible-playbook

Posted on

Hi

While using the -K option in below command :-
ansible-playbook -i inventory_vm install_package.yml -K

I am getting prompt for password

Is there any way to provide the password while escalation directly in the command

Responses