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

Remove include missing file rule #1599

Merged
merged 1 commit into from Jun 2, 2021
Merged

Remove include missing file rule #1599

merged 1 commit into from Jun 2, 2021

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Jun 2, 2021

As current versions of Ansible do correctly detect missing imports and raise load-failure errors, we no longer need our own rule for it.

This also fixes CI devel jobs which recently started to fail due to changes made to devel branch. Please note that removal of this rule does not mean the linter would not detect missing files, in fact it already does via ansible loader. Before this change missing files caused two different errors for each missing file on 2.9-2.11 and failed to pass tests on 2.12 (devel).

As current versions of Ansible do correctly detect missing imports
and raise load-failure errors, we no longer need our own rule
for it.
@felixfontein
Copy link
Contributor

This is only suppored by ansible-core 2.12, which is in development. I'm not sure whether it's a good idea to remove the rule already now.

@felixfontein felixfontein mentioned this pull request Jun 2, 2021
@ssbarnea ssbarnea merged commit c7f797d into master Jun 2, 2021
@ssbarnea ssbarnea deleted the fix/missing branch June 2, 2021 13:27
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.

None yet

2 participants