-
Notifications
You must be signed in to change notification settings - Fork 666
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
jinja[spacing] conflict with yaml[line-length] #2522
Labels
Comments
Sorry but there are no current plans to add re-wrap jinja. While @cognifloyd worked towards allowing this, we have to say that for now, we rely on humans to do the wrapping, as only they can decide where it makes more sense to split the line. Here is a YAML hint to cut few columns:
Basically technically doable, but the outcomes almost always sub-par. |
Thanks @ssbarnea I'll try this way. |
rndmh3ro
pushed a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Nov 28, 2022
rndmh3ro
pushed a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Nov 28, 2022
…rectly. see ansible/ansible-lint#2522 Signed-off-by: Sebastian Gumprich <[email protected]>
rndmh3ro
pushed a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Nov 29, 2022
…rectly. see ansible/ansible-lint#2522 Signed-off-by: Sebastian Gumprich <[email protected]>
rndmh3ro
pushed a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Jan 23, 2023
rndmh3ro
pushed a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Jan 23, 2023
…rectly. see ansible/ansible-lint#2522 Signed-off-by: Sebastian Gumprich <[email protected]>
rndmh3ro
pushed a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Jan 23, 2023
…rectly. see ansible/ansible-lint#2522 Signed-off-by: Sebastian Gumprich <[email protected]>
rndmh3ro
added a commit
to dev-sec/ansible-collection-hardening
that referenced
this issue
Jan 24, 2023
* linting Signed-off-by: Sebastian Gumprich <[email protected]> * more linting Signed-off-by: Sebastian Gumprich <[email protected]> * change line length issues Signed-off-by: Sebastian Gumprich <[email protected]> * replace yes with true in tasks Signed-off-by: Sebastian Gumprich <[email protected]> * use manual line-wrapping because ansible-lint does not support it correctly. see ansible/ansible-lint#2522 * use manual line-wrapping because ansible-lint does not support it correctly. see ansible/ansible-lint#2522 Signed-off-by: Sebastian Gumprich <[email protected]> * use manual line-wrapping because ansible-lint does not support it correctly. see ansible/ansible-lint#2522 Signed-off-by: Sebastian Gumprich <[email protected]> * add exception for task Signed-off-by: Sebastian Gumprich <[email protected]> * remove trailing whitespace * add back deleted params Signed-off-by: Sebastian Gumprich <[email protected]> * add back deleted params Signed-off-by: Sebastian Gumprich <[email protected]> * add back tasks Signed-off-by: Sebastian Gumprich <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
With the following
roles/test/tasks/main.yml
:I get:
Running
ansible-lint --write
makes the code less readable:And also add a new error:
Issue Type
Ansible and Ansible Lint details
The text was updated successfully, but these errors were encountered: