-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
627f330
commit 051ba6c
Showing
45 changed files
with
5,457 additions
and
1 deletion.
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,54 @@ | ||
--- | ||
########################## | ||
########################## | ||
## Ansible Linter rules ## | ||
########################## | ||
########################## | ||
|
||
############################# | ||
# Exclude paths from linter # | ||
############################# | ||
# exclude_paths: | ||
|
||
######################## | ||
# Make output parsable # | ||
######################## | ||
parseable: true | ||
|
||
####################### | ||
# Set output to quiet # | ||
####################### | ||
quiet: true | ||
|
||
##################### | ||
# Path to rules dir # | ||
##################### | ||
# rulesdir: | ||
|
||
################ | ||
# Tags to skip # | ||
################ | ||
skip_list: | ||
- "empty-string-compare" # Allow compare to empty string | ||
- "204" # Allow string length greater than 160 chars | ||
- "no-changed-when" # False positives for running command shells | ||
- "command-instead-of-module" # Allow git commands for push, add, etc... | ||
- "command-instead-of-shell" # Allow use of shell when you want | ||
- "no-handler" # Allow step to run like handler | ||
- "unnamed-task" # Allow tasks without a name | ||
- "yaml" # Disable YAML linting since it's done by yamllint | ||
|
||
################## | ||
# Tags to follow # | ||
################## | ||
# tags: | ||
|
||
############# | ||
# Use rules # | ||
############# | ||
use_default_rules: true | ||
|
||
################# | ||
# Set verbosity # | ||
################# | ||
verbosity: 1 |
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,30 @@ | ||
# Documentation: | ||
# - Test Parameters: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/test-toolkit#test-parameters | ||
# - Test Cases: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/test-cases | ||
@{ | ||
# Test = @( | ||
# 'Parameters Property Must Exist', | ||
# 'Parameters Must Be Referenced', | ||
# 'Secure String Parameters Cannot Have Default', | ||
# 'Location Should Not Be Hardcoded', | ||
# 'Resources Should Have Location', | ||
# 'VM Size Should Be A Parameter', | ||
# 'Min And Max Value Are Numbers', | ||
# 'artifacts-parameter', | ||
# 'Variables Must Be Referenced', | ||
# 'Dynamic Variable References Should Not Use Concat', | ||
# 'apiVersions Should Be Recent', | ||
# 'Providers apiVersions Is Not Permitted', | ||
# 'Template Should Not Contain Blanks', | ||
# 'IDs Should Be Derived From ResourceIDs', | ||
# 'ResourceIds should not contain', | ||
# 'DependsOn Must Not Be Conditional', | ||
# 'Deployment Resources Must Not Be Debug', | ||
# 'adminUsername Should Not Be A Literal', | ||
# 'VM Images Should Use Latest Version', | ||
# 'Virtual-Machines-Should-Not-Be-Preview', | ||
# 'ManagedIdentityExtension must not be used', | ||
# 'Outputs Must Not Contain Secrets' | ||
# ) | ||
# Skip = @() | ||
} |
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,3 @@ | ||
--- | ||
include_checks: | ||
- I |
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,3 @@ | ||
--- | ||
# Don't report passed checks in output | ||
quiet: true |
Oops, something went wrong.