ubuntu problem

Since the information you provide is very general, the answer can't be
more specific either: read
https://docs.ansible.com/ansible/latest/user_guide/become.html