Skip to content

role without yml files isn't role#66

Open
torgiren wants to merge 1 commit intonickjj:masterfrom
torgiren:fix_subrole_searching
Open

role without yml files isn't role#66
torgiren wants to merge 1 commit intonickjj:masterfrom
torgiren:fix_subrole_searching

Conversation

@torgiren
Copy link

This fixes false positive checks on roles.
ex:
I have some static files in my role (this are nagios static files), so i have role:
nagios/tasks/main.yml
nagios/files/static/commands/something.cfg
nagios/files/static/templates/my_templates.cfg
nagios/files/static/services/services.cfg

and ansigenome finds template folder in my static, and add role nagios-files-static to graph... this isn't role.
So, I fixed it, but add conditional, that if folder contains yml file, that means that is role

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant