mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 11:24:50 +00:00
.pre-commit-config.yaml: Do not set ANSIBLE_LIBRARY for ansible-doc-test
With latest Ansible (4.0.0) it is needed to have a complete path for ANSIBLE_LIBRARY. It is not good to hard code this in the .pre-commit-config.yaml file for plugins and also all roles. Instead it will be set in ansible-doc-test as it knows the path for each file that is checked.
This commit is contained in:
@@ -26,6 +26,6 @@ repos:
|
|||||||
- id: ansible-doc-test
|
- id: ansible-doc-test
|
||||||
name: Verify Ansible roles and module documentation.
|
name: Verify Ansible roles and module documentation.
|
||||||
language: python
|
language: python
|
||||||
entry: env ANSIBLE_LIBRARY=./plugins/modules utils/ansible-doc-test
|
entry: utils/ansible-doc-test
|
||||||
# args: ['-v', 'roles', 'plugins']
|
# args: ['-v', 'roles', 'plugins']
|
||||||
files: ^.*.py$
|
files: ^.*.py$
|
||||||
|
|||||||
Reference in New Issue
Block a user