Skip to content

Commit

Permalink
Cleanup of ansible-lint.yml file (vitabaks#376)
Browse files Browse the repository at this point in the history
* 🔥 chore(ansible-lint.yml): remove trailing-spaces rule from skip_list
The trailing-spaces rule was removed from the skip_list in order to enforce the rule and ensure that there are no trailing spaces in the YAML files.

* 🔥 chore(ansible-lint.yml): remove schema[tasks] from skip_list
The schema[tasks] rule was removed from the skip_list as it is no longer necessary.

* 🔥 chore(ansible-lint.yml): remove skip_list items 'role-name[path]' and 'run-once[task]'
The 'role-name[path]' and 'run-once[task]' items were removed from the skip_list as they are no longer needed. The 'role-name[path]' item was removed because it is redundant with the 'role-name' item. The 'run-once[task]' item was removed because it is not used in the project.

* 🔥 chore(ansible-lint.yml): remove commented out lines
The commented out lines were not providing any value and were just cluttering the file.
  • Loading branch information
ThomasSanson authored Jun 10, 2023
1 parent 5d4ccfd commit dbfa7f9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .config/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -19,14 +19,8 @@ skip_list:
- package-latest
- risky-file-permissions # TODO
- role-name
- role-name[path]
- run-once[task]
- schema[tasks]
- yaml[line-length]
- yaml[trailing-spaces]

exclude_paths:
- ../.venv
- ../.github
# https://ansible-lint.readthedocs.io/configuring/
# https://ansible-lint.readthedocs.io/rules/

0 comments on commit dbfa7f9

Please sign in to comment.