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

Document syntax-check as unskippable #1606

Merged
merged 1 commit into from Jun 4, 2021
Merged

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Jun 4, 2021

  • marks syntax-check rule as unskippable
  • extends documentation of the rule in order to explain its special status and hint on which directions the user can take to avoid it
  • assures unskippable rules are not advertised for use in skip_list or warn_list

Fixes: #1594

@ssbarnea ssbarnea merged commit 071dcf3 into master Jun 4, 2021
@ssbarnea ssbarnea deleted the fix/unskippable-rules branch June 4, 2021 11:19
Copy link
Contributor

@tadeboro tadeboro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still feels a bit strange that failing the "syntax" check prevents any other errors from being reported. And I placed the syntax part in quotes because Ansible does a lot more in its syntax check. So even if the playbook is valid as far as the syntax goes, the user does not get any diagnostics back.

But this is only weakly related to this PR, and this PR is indeed accurately described the current state of affairs.

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.

skip_list syntax-check is ignored
3 participants