Skip to content

Commit

Permalink
Bugfix/code inspection.
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
bbaassssiiee committed Jul 26, 2024
1 parent 5f35b66 commit b8b53f3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ repos:
hooks:
- id: ansible-lint
additional_dependencies:
- ansible==9.5.1
- ansible==9.8.0
- jsonschema==4.22.0
- jmespath==1.0.1
- netaddr==1.2.1
- netaddr==1.3.0
- distlib

- repo: https://github.com/golangci/misspell
Expand Down
4 changes: 4 additions & 0 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ license_file: LICENSE
dependencies:
ansible.utils: '>=2.5.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:
directives:
- recursive-exclude tests **
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ansible==9.6.0
ansible==9.8.0
# Needed for jinja2 json_query templating
jmespath==1.0.1
# Needed for ansible.utils.validate module
Expand Down
3 changes: 3 additions & 0 deletions tests/requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
collections:
- name: gluster.gluster

0 comments on commit b8b53f3

Please sign in to comment.