You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output - no error.
ansible shows somethig way different:
ERROR! A malformed block was encountered.
The error appears to have been in'roles/something/tasks/main.yml': line ...., column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- when: ansible_distribution_release == 'xenial'
^ here
Expected behavior: detect and report malformed blocks.
The text was updated successfully, but these errors were encountered:
I'd probably need to use a bit more of ansible's block processing logic, which could cause other problems.
Does this pass ansible --syntax-check? (I have no plans to solve problems detected by ansible's syntax checker which can be run as a precursor to ansible-review)
example main.yaml:
output - no error.
ansible shows somethig way different:
Expected behavior: detect and report malformed blocks.
The text was updated successfully, but these errors were encountered: