Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
For example the ansible-elk you linked is structured as a full ansible project, with roles playbooks and so on. In that project there are a bunch of roles under https://github.com/sadsfae/ansible-elk/tree/master/install/roles
Those that have the /roles/ in them are in the wrong from the look of it. But its hard to tell without more information. Here is an example of a galaxy compatible role https://github.com/geerlingguy/ansible-role-java
Your tomcat example has just a single role at https://github.com/jmutai/tomcat-ansible/tree/master/roles/tomcat