getting error while trying to create my own role

Hi,

I am trying to create a new role from my playbook. I had created a file with the created role

your file role must be in the path ansible/roles/own_test/tasks/main.yml

It is, or the task wouldn't have run.

OP: Your role looks broken, but you haven't show that.

Probably /usr/bin/lsb_release doesn't exist on localhost.

I resolved that by adding become_method: sudo
remote_user: ec2_user in that above own_test.yml