Bugfix/code inspection. (#11384)

- Make ansible-galaxy collection dependencies explicit
- Reorganized requirements.yml
- Adding required collections to galaxy.yml
- Ansible 9.6.0 was yanked on Pypi
- Sync pre-commit requirements with requirements.txt

Signed-off-by: Bas Meijer <bas.meijer@enexis.nl>
pull/11230/head
Bas 2024-08-02 12:43:54 +02:00 committed by GitHub
parent 4e99b94dcc
commit dd51ef6f96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 3 deletions

View File

@ -39,10 +39,10 @@ repos:
hooks: hooks:
- id: ansible-lint - id: ansible-lint
additional_dependencies: additional_dependencies:
- ansible==9.5.1 - ansible==9.8.0
- jsonschema==4.22.0 - jsonschema==4.22.0
- jmespath==1.0.1 - jmespath==1.0.1
- netaddr==1.2.1 - netaddr==1.3.0
- distlib - distlib
- repo: https://github.com/golangci/misspell - repo: https://github.com/golangci/misspell

View File

@ -15,6 +15,10 @@ license_file: LICENSE
dependencies: dependencies:
ansible.utils: '>=2.5.0' ansible.utils: '>=2.5.0'
community.general: '>=3.0.0' community.general: '>=3.0.0'
ansible.netcommon: '>=5.3.0'
ansible.posix: '>=1.5.4'
community.docker: '>=3.11.0'
kubernetes.core: '>=2.4.2'
manifest: manifest:
directives: directives:
- recursive-exclude tests ** - recursive-exclude tests **

View File

@ -1,4 +1,4 @@
ansible==9.6.0 ansible==9.8.0
# Needed for jinja2 json_query templating # Needed for jinja2 json_query templating
jmespath==1.0.1 jmespath==1.0.1
# Needed for ansible.utils.validate module # Needed for ansible.utils.validate module

View File

@ -0,0 +1,3 @@
---
collections:
- name: gluster.gluster