Merge pull request #1023 from t-woerner/ansible_lint_needs_collection_source_dir

.github/workflows/lint.yml: ansible-lint needs collection source dir
This commit is contained in:
Rafael Guterres Jeffman
2023-01-16 16:47:24 -03:00
committed by GitHub

View File

@@ -17,11 +17,9 @@ jobs:
- name: Run ansible-lint - name: Run ansible-lint
run: | run: |
pip install "ansible-core >=2.14,<2.15" ansible-lint pip install "ansible-core >=2.14,<2.15" ansible-lint
find playbooks roles tests -name '*.yml' ! -name "env_*" ! -name "tasks_*" -exec ansible-lint --force-color {} \+ utils/build-galaxy-release.sh -ki
env: cd .galaxy-build
ANSIBLE_MODULE_UTILS: plugins/module_utils ansible-lint roles plugins
ANSIBLE_LIBRARY: plugins/modules
ANSIBLE_DOC_FRAGMENT_PLUGINS: plugins/doc_fragments
yamllint: yamllint:
name: Verify yamllint name: Verify yamllint