From dc104d96fbbf2bb64622dacea4eb06a9e957baea Mon Sep 17 00:00:00 2001 From: saibotk Date: Sat, 13 Aug 2022 19:53:34 +0200 Subject: [PATCH] lint: might fix it now --- .gitlab-ci.yml | 1 + ansible.lint.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aca4fc9..f70529d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/ansible.lint.cfg b/ansible.lint.cfg index 2819710..52aca12 100644 --- a/ansible.lint.cfg +++ b/ansible.lint.cfg @@ -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