-
Notifications
You must be signed in to change notification settings - Fork 16
Fix offline install missing community.general collection #184
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,6 +130,7 @@ if [ $? -ne 1 ]; then | |
| ansible-galaxy collection install $(dirname $0)/offline/collections/awx-awx-22.3.0.tar.gz | ||
| ansible-galaxy collection install $(dirname $0)/offline/collections/kubernetes-core-2.4.0.tar.gz | ||
| ansible-galaxy collection install $(dirname $0)/offline/collections/amazon-aws-6.5.0.tar.gz | ||
| ansible-galaxy collection install $(dirname $0)/offline/collections/community-general-8.3.0.tar.gz | ||
|
||
| else | ||
| ansible-galaxy install -r collections/requirements.yml | ||
| fi | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new community.general install line may never run in environments where the other checked collections are present but community.general is missing, because check_collections() doesn’t currently verify any community.general plugin/module. Consider updating the detection logic to include a check for the community.general.collection_version lookup (or another community.general component), so missing community.general reliably triggers the install block.