Skip to content

Warn about missing "roles:" #1072

Answered by ssbarnea
matkoniecz asked this question in Q&A
Discussion options

You must be logged in to vote

This file is invalid and the tool is already able to detect missing roles but there is a catch: you need to have playbooks that import these roles, as Ansible itself detects them. If you just have a random task file that includes the role and is not included in a playbooks or role, it will be ignored.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ssbarnea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1072 on December 30, 2020 09:36.