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
|
||||
skip_list:
|
||||
- '010'
|
||||
- '305'
|
||||
- '403'
|
||||
use_default_rules: true
|
||||
verbosity: 1
|
||||
verbosity: 1
|
||||
|
@ -48,10 +48,10 @@ stages:
|
||||
- "ansible-lint --version"
|
||||
|
||||
|
||||
.lint_play_template: &lint_play
|
||||
stage: check_and_lint
|
||||
script:
|
||||
- "ansible-lint -v ${ANSIBLE_ROLE_PATH}"
|
||||
#.lint_play_template: &lint_play
|
||||
# stage: check_and_lint
|
||||
# script:
|
||||
# - "ansible-lint -v ${ANSIBLE_ROLE_PATH}"
|
||||
|
||||
|
||||
.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