sudo yaml

hi,

I would like to create a yml file, that when I run it on my hosts it automatically sets sudo for a user

Thanks

https://docs.ansible.com/ansible/latest/user_guide/become.html