0.1.59-DEV-2239.1
-------------------------- * MODIFY: - modified and added some rules for linting * REMOVE: - linting ci task
This commit is contained in:
parent
fd6d4e663d
commit
9e9ced26b8
@ -2,6 +2,7 @@ parseable: true
|
|||||||
quiet: false
|
quiet: false
|
||||||
skip_list:
|
skip_list:
|
||||||
- '010'
|
- '010'
|
||||||
|
- '305'
|
||||||
- '403'
|
- '403'
|
||||||
use_default_rules: true
|
use_default_rules: true
|
||||||
verbosity: 1
|
verbosity: 1
|
@ -48,10 +48,10 @@ stages:
|
|||||||
- "ansible-lint --version"
|
- "ansible-lint --version"
|
||||||
|
|
||||||
|
|
||||||
.lint_play_template: &lint_play
|
#.lint_play_template: &lint_play
|
||||||
stage: check_and_lint
|
# stage: check_and_lint
|
||||||
script:
|
# script:
|
||||||
- "ansible-lint -v ${ANSIBLE_ROLE_PATH}"
|
# - "ansible-lint -v ${ANSIBLE_ROLE_PATH}"
|
||||||
|
|
||||||
|
|
||||||
.test_deploy_template: &test_deploy
|
.test_deploy_template: &test_deploy
|
||||||
|
9
.yamllint.yml
Normal file
9
.yamllint.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
rules:
|
||||||
|
colons:
|
||||||
|
max-spaces-before: -1
|
||||||
|
max-spaces-after : -1
|
||||||
|
|
||||||
|
truthy:
|
||||||
|
allowed-values : ['true','false','True','False','yes','no']
|
||||||
|
check-keys : false
|
Loading…
x
Reference in New Issue
Block a user