-
Notifications
You must be signed in to change notification settings - Fork 660
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
6.12.0 does not obey some noqa comment tags #2970
Comments
Another example is (so I guess this shows its more generic than just - hosts: all
pre_tasks:
# Run ensure-output-dirs now as it is not performed speculatively
- name: Run ensure-output-dirs
import_role:
name: ensure-output-dirs
- name: Create fake translation # noqa deprecated-command-syntax
shell: |
mkdir -p src/{{ zuul.project.canonical_name }}/translation-source/
echo Hello > src/{{ zuul.project.canonical_name }}/translation-source/test |
I am afraid that this is unrelated, you missed to add the colons after noqa, I will not close the bug because I spotted two examples in docs that do not use the colon, but all the other ones do. We need to fix at least the docs. If we are support the syntax without the colon,... not sure, I will ask around. BTW, Thanks for the good bug reports, keep reporting them. |
@ssbarnea but doc doesn't say that colon is needed: https://ansible-lint.readthedocs.io/usage/#muting-warnings-to-avoid-false-positives That's kind of breaking changes, because previously linter do not require colon, so things like |
I am working on a hotfix. |
With ``test.yaml``` of
This works with 6.11
I bisected this and it started happening @ 497bae9
The text was updated successfully, but these errors were encountered: