Add _install_ansible_collections() function that installs Ansible Galaxy collections from ansible/requirements.yml if it exists.
This makes the setup tool generic enough for projects that use Ansible (like GRM) while keeping it safe for projects that don't (skips silently if requirements file is missing).
Changes
Add --no-ansible-collections CLI option to devx.tools.setup
Add _install_ansible_collections() function
Update tests with new test class and mock
Closes DEVX-4
Add `_install_ansible_collections()` function that installs Ansible Galaxy collections from `ansible/requirements.yml` if it exists.
This makes the setup tool generic enough for projects that use Ansible (like GRM) while keeping it safe for projects that don't (skips silently if requirements file is missing).
## Changes
- Add `--no-ansible-collections` CLI option to `devx.tools.setup`
- Add `_install_ansible_collections()` function
- Update tests with new test class and mock
Closes DEVX-4
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
Add _install_ansible_collections() function that installs Ansible
Galaxy collections from ansible/requirements.yml if it exists.
This makes the setup tool generic enough for projects that use
Ansible (like GRM) while keeping it safe for projects that don't
(skips silently if requirements file is missing).
Closes DEVX-4
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil
merged commit c599c54407 into master2026-06-22 18:22:26 +00:00
emil
deleted branch DEVX-4-setup-ansible-collections2026-06-22 18:22:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add
_install_ansible_collections()function that installs Ansible Galaxy collections fromansible/requirements.ymlif it exists.This makes the setup tool generic enough for projects that use Ansible (like GRM) while keeping it safe for projects that don't (skips silently if requirements file is missing).
Changes
--no-ansible-collectionsCLI option todevx.tools.setup_install_ansible_collections()functionCloses DEVX-4
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
54eea37960to94a450a0d1Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
All 13 REVIEW_CHECKLIST.md categories verified. Architecture: clean addition of optional flag. Security: no new risks. Tests: 100% coverage maintained. Docs: docstring updated.
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
LGTM — clean addition, tests pass, 100% coverage.
e0e2d44a83to6ed5fae531Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.