forked from sap-linuxlab/community.sap_install
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sap-linuxlab#543 from berndfinger/issue-541
sap_maintain_etc_hosts: Provide missing ansible-lint config files
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
enable_list: | ||
- yaml | ||
skip_list: | ||
- ignore-errors # We use ignore_errors for all the assert tasks, which should be acceptable | ||
- schema # We want to allow single digit version numbers in a role's meta/main.yml file. This is allowed as per https://galaxy.ansible.com/docs/contributing/creating_role.html and https://galaxy.ansible.com/api/v1/platforms/?page=6. | ||
- name[template] # Allow templating inside name. During dev and qa, it should be possible to identify cases where it doesn't work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
# Based on ansible-lint config | ||
extends: default | ||
|
||
rules: | ||
braces: {max-spaces-inside: 1, level: error} | ||
brackets: {max-spaces-inside: 1, level: error} | ||
# colons: {max-spaces-after: -1, level: error} | ||
# commas: {max-spaces-after: -1, level: error} | ||
comments: disable | ||
comments-indentation: disable | ||
# document-start: disable | ||
# empty-lines: {max: 3, level: error} | ||
# hyphens: {level: error} | ||
# indentation: disable | ||
# key-duplicates: enable | ||
line-length: disable | ||
# new-line-at-end-of-file: disable | ||
# new-lines: {type: unix} | ||
# trailing-spaces: disable | ||
truthy: disable |