0.1.59-DEV-2239.1

--------------------------
    * MODIFY:
      - modified and added some rules for linting

    * REMOVE:
      - linting ci task
This commit is contained in:
Chris Hammer 2022-03-09 16:51:26 -05:00
parent fd6d4e663d
commit 9e9ced26b8
3 changed files with 15 additions and 5 deletions

View File

@ -2,6 +2,7 @@ parseable: true
quiet: false
skip_list:
- '010'
- '305'
- '403'
use_default_rules: true
verbosity: 1
verbosity: 1

View File

@ -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
View 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