Skip to content

Commit

Permalink
Install yamllint for YAML linting by ansible-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
klausenbusk committed Feb 14, 2021
1 parent 230cc79 commit 0356dee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
exclude_paths:
- misc
skip_list:
# Ignore lines longer than 160 chars
- '204'
# line too long (x > 80 characters) (line-length)
- 'line-length'
# Do not recommend running tasks as handlers
- '503'
# Do not force galaxy info in meta/main.yml
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image: "archlinux:latest"

before_script:
- pacman -Syu --needed --noconfirm ansible-lint terraform
- pacman -Syu --needed --noconfirm ansible-lint yamllint terraform

ansible-lint:
script:
Expand Down

0 comments on commit 0356dee

Please sign in to comment.