-
Notifications
You must be signed in to change notification settings - Fork 0
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
Philippe LEAL
committed
Aug 25, 2021
1 parent
aa34e6b
commit fd58919
Showing
13 changed files
with
359 additions
and
237 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
skip_list: | ||
- '106' | ||
- '401' |
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 |
---|---|---|
@@ -1,83 +1,112 @@ | ||
--- | ||
# https://yamllint.readthedocs.io/en/stable/rules.html | ||
extends: default | ||
yaml-files: | ||
- '*.yaml' | ||
- '*.yml' | ||
- '.yamllint' | ||
|
||
rules: | ||
braces: | ||
# Keeping 0 min-spaces to not error on empty collection definitions | ||
min-spaces-inside: 0 | ||
# Allowing one space inside braces to improve code readability | ||
max-spaces-inside: 1 | ||
|
||
brackets: | ||
# Keeping 0 min-spaces to not error on empty collection definitions | ||
min-spaces-inside: 0 | ||
# Allowing one space inside braces to improve code readability | ||
max-spaces-inside: 1 | ||
|
||
colons: | ||
braces: enable | ||
brackets: enable | ||
colons: enable | ||
commas: enable | ||
comments: disable | ||
comments-indentation: | ||
level: warning | ||
max-spaces-before: 0 | ||
# Allow to tab all vars on the same column | ||
max-spaces-after: -1 | ||
|
||
commas: | ||
max-spaces-before: 0 | ||
min-spaces-after: 1 | ||
max-spaces-after: 1 | ||
|
||
comments: | ||
# Disabling to allow for code comment blocks and #!/usr/bin/ansible-playbook | ||
require-starting-space: false | ||
ignore-shebangs: true | ||
min-spaces-from-content: 2 | ||
|
||
comments-indentation: enable | ||
|
||
document-end: disable | ||
document-start: | ||
present: true | ||
|
||
empty-lines: | ||
max: 2 | ||
max-start: 0 | ||
max-end: 0 | ||
|
||
empty-values: | ||
forbid-in-block-mappings: true | ||
forbid-in-flow-mappings: true | ||
|
||
hyphens: | ||
max-spaces-after: 1 | ||
|
||
indentation: | ||
# Requiring 2 space indentation | ||
spaces: 2 | ||
# Requiring consistent indentation within a file, either indented or not | ||
indent-sequences: consistent | ||
check-multi-line-strings: false | ||
|
||
level: warning | ||
empty-lines: enable | ||
empty-values: disable | ||
hyphens: enable | ||
indentation: enable | ||
key-duplicates: enable | ||
|
||
# Disabling due to copious amounts of long lines in the code which would | ||
key-ordering: disable | ||
line-length: disable | ||
|
||
new-line-at-end-of-file: enable | ||
|
||
new-lines: | ||
type: unix | ||
|
||
octal-values: | ||
forbid-implicit-octal: false | ||
forbid-explicit-octal: true | ||
|
||
quoted-strings: | ||
new-lines: enable | ||
octal-values: disable | ||
quoted-strings: disable | ||
trailing-spaces: enable | ||
truthy: | ||
level: warning | ||
quote-type: any | ||
required: false | ||
extra-required: [] | ||
extra-allowed: [] | ||
|
||
trailing-spaces: enable | ||
|
||
# Disabling due to copious amounts of truthy warnings in the code which would | ||
truthy: disable | ||
#rules: | ||
# braces: | ||
# # Keeping 0 min-spaces to not error on empty collection definitions | ||
# min-spaces-inside: 0 | ||
# # Allowing one space inside braces to improve code readability | ||
# max-spaces-inside: 1 | ||
# | ||
# brackets: | ||
# # Keeping 0 min-spaces to not error on empty collection definitions | ||
# min-spaces-inside: 0 | ||
# # Allowing one space inside braces to improve code readability | ||
# max-spaces-inside: 1 | ||
# | ||
# colons: | ||
# level: warning | ||
# max-spaces-before: 0 | ||
# # Allow to tab all vars on the same column | ||
# max-spaces-after: -1 | ||
# | ||
# commas: | ||
# max-spaces-before: 0 | ||
# min-spaces-after: 1 | ||
# max-spaces-after: 1 | ||
# | ||
# comments: | ||
# # Disabling to allow for code comment blocks and #!/usr/bin/ansible-playbook | ||
# require-starting-space: false | ||
# ignore-shebangs: true | ||
# min-spaces-from-content: 2 | ||
# | ||
# comments-indentation: enable | ||
# | ||
# document-start: | ||
# present: true | ||
# | ||
# empty-lines: | ||
# max: 2 | ||
# max-start: 0 | ||
# max-end: 0 | ||
# | ||
# empty-values: | ||
# forbid-in-block-mappings: true | ||
# forbid-in-flow-mappings: true | ||
# | ||
# hyphens: | ||
# max-spaces-after: 1 | ||
# | ||
# indentation: | ||
# # Requiring 2 space indentation | ||
# spaces: 2 | ||
# # Requiring consistent indentation within a file, either indented or not | ||
# indent-sequences: consistent | ||
# check-multi-line-strings: false | ||
# | ||
# key-duplicates: enable | ||
# | ||
# # Disabling due to copious amounts of long lines in the code which would | ||
# line-length: disable | ||
# | ||
# new-line-at-end-of-file: enable | ||
# | ||
# new-lines: | ||
# type: unix | ||
# | ||
# octal-values: | ||
# forbid-implicit-octal: false | ||
# forbid-explicit-octal: true | ||
# | ||
# quoted-strings: | ||
# level: warning | ||
# quote-type: any | ||
# required: false | ||
# extra-required: [] | ||
# extra-allowed: [] | ||
# | ||
# trailing-spaces: enable | ||
# | ||
# # Disabling due to copious amounts of truthy warnings in the code which would | ||
# truthy: disable |
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
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
This file was deleted.
Oops, something went wrong.
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
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 @@ | ||
--- | ||
- name: Run role | ||
hosts: all | ||
become: true | ||
|
||
roles: | ||
- role: apps_oxidized |
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,5 @@ | ||
--- | ||
- name: Prepare | ||
hosts: all | ||
gather_facts: false | ||
tasks: [] |
Oops, something went wrong.