Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare collection dependencies #567

Closed
wants to merge 1 commit into from
Closed

Conversation

fao89
Copy link
Member

@fao89 fao89 commented Mar 24, 2021

[noissue]

@@ -54,6 +54,9 @@ tags:
# range specifiers can be set and are separated by ','
dependencies:
ansible.posix: "*"
community.crypto: "*"
community.general: "*"
community.postgres: "*"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding dependencies here will make ansible-galaxy install the dependencies, but some users don't use pulp_database role, therefore they would be installing community.postgres for nothing.
Not sure what would be the best way to deal with these "conditional dependencies"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fao89 Good point. I'm very curious if there is a way.

We do declare dependencies in the roles, maybe that can help.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering: should we vendor these "conditional dependencies"?

@pulpbot
Copy link
Member

pulpbot commented Mar 24, 2021

WARNING!!! This PR is not attached to an issue. In most cases this is not advisable. Please see our PR docs for more information about how to attach this PR to an issue.

@fao89
Copy link
Member Author

fao89 commented Mar 31, 2021

Filed: https://pulp.plan.io/issues/8491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants