lint: might fix it now
This commit is contained in:
parent
c7deaa99c2
commit
dc104d96fb
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ ansible-lint:
|
|||
variables:
|
||||
ANSIBLE_CONFIG: "$CI_PROJECT_DIR/ansible.lint.cfg"
|
||||
script:
|
||||
- ansible-galaxy install -f -r requirements.yml
|
||||
- ansible-lint --version
|
||||
- ansible-lint -f codeclimate roles/ playbooks/ > ansible-lint-report.json
|
||||
artifacts:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Empty stub config file, so ansible-lint does not use the default config's vault_password_file.
|
||||
# Otherwise ansible-lint always tries to get a vault password and fails.
|
||||
[defaults]
|
||||
roles_path = ./roles
|
||||
roles_path = ./roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
|
||||
|
|
Loading…
Add table
Reference in a new issue