Ansible skips evaluation of dependencies

I think I have discovered an inconsistent behavior in Ansible when dealing with role dependencies. When I’m trying to use a role through another role twice in the same play, it seems like the second execution of the role skips the evaluation of dependencies. Please see the example bellow:

`

cat < ./hosts
localhost ansible_python_interpreter=/usr/bin/python2
END

mkdir -p ./roles/role0/meta
cat < ./roles/role0/meta/main.yaml

roles will only be added once unless you allow duplicates, for more
info https://docs.ansible.com/playbooks_roles.html