mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
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.
This commit is contained in:
@@ -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$
|
||||||
|
|||||||
Reference in New Issue
Block a user