You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to only have the collections and their versions that I explicitly described in requirements.yml downloaded by ansible-galaxy. There is a --no-deps switch available in ansible-galaxy collection/role install, but it is not exposed as an option by the module.
I only need this for type: collection - but it would of course be nice if it also would work of type: both or type: role is specified. Potentially there need to be 2 options to be able to install roles with and collections without dependencies for example.
Issue Type
Feature Idea
Component Name
ansible_galaxy_install
Additional Information
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
@russoz: how about shipping a small collection (not sure, maybe a simple galaxy.yml file is already enough?) that depends on a non-existing collection; in the tests you can build a tarball from it (ansible-galaxy collection build), and then install that tarball with --no-deps. If --no-deps works it's possible to install the collection. (Assuming the building step does not check existence of the dependencies...)
Summary
I'd like to only have the collections and their versions that I explicitly described in
requirements.yml
downloaded by ansible-galaxy. There is a--no-deps
switch available inansible-galaxy collection/role install
, but it is not exposed as an option by the module.I only need this for
type: collection
- but it would of course be nice if it also would work oftype: both
ortype: role
is specified. Potentially there need to be 2 options to be able to install roles with and collections without dependencies for example.Issue Type
Feature Idea
Component Name
ansible_galaxy_install
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: