Skip to content

Conversation

@PolynomialDivision
Copy link
Contributor

No description provided.

@PolynomialDivision PolynomialDivision changed the title locations: apply linting treewide: apply linting Jul 20, 2025
@PolynomialDivision PolynomialDivision force-pushed the apply-linting branch 2 times, most recently from 503e2f3 to 9192bd4 Compare July 20, 2025 09:15
ipv6_prefix: 2001:bf7:820:3300::/56

networks:

Copy link
Contributor

Choose a reason for hiding this comment

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

Wollen wir diese Leerzeilen-Regel nicht lieber deaktivieren? Ich arbeite sehr gerne mit Leerzeilen um mich beim Scrollen einfacher orientieren zu können, und ich finds auch wichtig ein bisschen Freiheit zu behalten, da wo es funktional keinerlei Unterschied macht.

Und ich verstehe auch nicht so ganz, warum sechs Zeilen weiter (eine Objektebene tiefer) die Leerzeilen scheinbar okay sind ;)

changed_when: false
command: scp -O -o StrictHostKeyChecking=no {{ image }} {{ ansible_user }}@[{{ ansible_ssh_host }}]:/tmp/

ansible.builtin.command: scp -O -o StrictHostKeyChecking=no {{ image }} {{ ansible_user }}@[{{ ansible_ssh_host }}]:/tmp/
Copy link
Contributor

Choose a reason for hiding this comment

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

Diese Leerzeile war schon okay dort

Copy link
Member

@Noki Noki left a comment

Choose a reason for hiding this comment

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

besides the two locations that are already deleted in the main branch, and the comments about empty lines from pktpls that needs to be resolved, this is good to go. Personally I have no real preference about the empty lines pointed out by pktpls.

@PolynomialDivision PolynomialDivision force-pushed the apply-linting branch 2 times, most recently from e35eb50 to c5af282 Compare November 4, 2025 19:17
Copy link
Member

@Noki Noki left a comment

Choose a reason for hiding this comment

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

looks good to me now. @pktpls merge?

Use ansible-lint --fix.
Use prettier --write "**/*.yml" to apply linting.
Updated all builtin module actions to use fully qualified collection names (FQCN)
as required by ansible-lint rule fqcn[action-core].

Command used:
  ansible-lint --fix

This improves compatibility with Ansible 2.10+ and aligns with best practices.
Running ansible-lint --fix.
Running ansible-lint --fix.
Running ansible-lint --fix.
@PolynomialDivision
Copy link
Contributor Author

PolynomialDivision commented Nov 5, 2025

Der PR ist hier so lange in der Schwebe, weil es um gundsätzlich um Linting geht. Wenn man anfängt, Warnungen nach und nach auszuschalten, verliert das Linting für mich irgendwie seinen Sinn. Ich brauche da ehrlich gesagt keine Freiheit, ich will einfach nur meine Tastenkombination im Editor drücken, damit die Datei gelinted und formatiert wird, und außerdem einen einheitlichen Stil über alle Targets hinweg durchsetzen. Mir ist es völlig egal, ob da nur eine Leerzeile ist oder nicht, so lange es einheitlich ist, und ich nen linter benutzen kann. Wenn Leute da aber gern mehr Freiheit wollen, dann bin ich damit auch fein. Aber das beißt sich dann damit, dass ich gerne meine Files automatisch gelinted haben will.

@PolynomialDivision
Copy link
Contributor Author

Ich weiß nicht genau wie ich in der ansible-lint skip liste dieses Leerzeile Linting rausnehme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants