You've already forked ansible-role-automysqlbackup
fix: Linting added yamllint config 🚨
This commit is contained in:
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
cache: 'pip' # caching pip dependencies
|
cache: 'pip' # caching pip dependencies
|
||||||
- name: Ensure requirements are installed
|
- name: Ensure requirements are installed
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- name: Run Molecule tests.
|
- name: Run Molecule tests.
|
||||||
@@ -88,7 +88,9 @@ jobs:
|
|||||||
priority: 4
|
priority: 4
|
||||||
tags: +1,partying_face,action,successfully,completed
|
tags: +1,partying_face,action,successfully,completed
|
||||||
details: Workflow has been successfully completed!
|
details: Workflow has been successfully completed!
|
||||||
icon: 'https://styles.redditmedia.com/t5_32uhe/styles/communityIcon_xnt6chtnr2j21.png'
|
icon: >
|
||||||
|
https://styles.redditmedia.com/
|
||||||
|
t5_32uhe/styles/communityIcon_xnt6chtnr2j21.png
|
||||||
image: true
|
image: true
|
||||||
|
|
||||||
- name: ntfy-failed-notifications
|
- name: ntfy-failed-notifications
|
||||||
|
|||||||
36
.yamllint
Normal file
36
.yamllint
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
# Based on ansible-lint config
|
||||||
|
extends: default
|
||||||
|
skip_list:
|
||||||
|
- fqcn-builtins
|
||||||
|
- role-name
|
||||||
|
|
||||||
|
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: enable
|
||||||
|
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: enable
|
||||||
|
new-lines:
|
||||||
|
type: unix
|
||||||
|
trailing-spaces: disable
|
||||||
|
truthy: disable
|
||||||
Reference in New Issue
Block a user