Skip to content

Commit

Permalink
Reduce CI warnings created by Ansible-lint validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
BorekZnovustvoritel authored and Allda committed Nov 6, 2023
1 parent 1651f69 commit 9481267
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ansible/playbooks/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
collections:
- name: kubernetes.core
version: 2.4.0
- name: community.general
version: 7.5.0
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ commands = pymarkdown scan .
pymarkdown scan -r ansible docs

[testenv:ansible-lint]
allowlist_externals = ansible-lint
allowlist_externals = ansible-lint, ansible-galaxy
groups = dev
commands = ansible-lint ansible/roles --offline --exclude ansible/roles/config_ocp_cluster/files ansible/roles/index_signature_verification/files
commands = ansible-galaxy collection install -r ansible/playbooks/requirements.yml
ansible-lint ansible/roles \
--exclude ansible/roles/config_ocp_cluster/files \
ansible/roles/index_signature_verification/files

0 comments on commit 9481267

Please sign in to comment.