Skip to content
Snippets Groups Projects
Commit 1cf089e8 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ansible_doc_test pre commit: Set ANSIBLE_LIBRARY to test current repo

It is needed to set ANSIBLE_LIBRARY to make sure that the current repo is
tested.
parent 74720c5a
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ repos: ...@@ -25,7 +25,7 @@ repos:
hooks: hooks:
- id: ansible-doc-test - id: ansible-doc-test
name: Verify Ansible roles and module documentation. name: Verify Ansible roles and module documentation.
language: script language: python
entry: utils/ansible-doc-test entry: env ANSIBLE_LIBRARY=./plugins/modules utils/ansible-doc-test
# args: ['-v', 'roles', 'plugins'] # args: ['-v', 'roles', 'plugins']
files: ^.*.py$ files: ^.*.py$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment