Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with detection of configured role paths #2002

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Mar 14, 2022

Since we adopted ansible-compat and removed our hardcoded DEFAULT_ROLES_PATH constant the role path code was no longer working.

This is switching to use of ansible-compat runtime for gathering the role paths.

Fixes: #1869

@ssbarnea ssbarnea requested a review from a team as a code owner March 14, 2022 16:50
@ssbarnea ssbarnea requested review from relrod, ganeshrn and cidrblock and removed request for a team March 14, 2022 16:50
@github-actions github-actions bot added the bug label Mar 14, 2022
@ssbarnea ssbarnea changed the title fix/pylint rules Fix bug with detection of configured role paths Mar 14, 2022
Since we adopted ansible-compat and removed our hardcoded
DEFAULT_ROLES_PATH constant the role path code was no longer working.

This is switching to use of ansible-compat runtime for gathering
the role path.
@ssbarnea
Copy link
Member Author

Found that bit while working on removing pylint no-member skip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't specify the roles folder
2 participants