-
Notifications
You must be signed in to change notification settings - Fork 342
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
Do I have to install requirements.txt by myself after galaxy install? #167
Comments
@ggicci ansible-galaxy command only installs collection and not the required libraries. You will need to install the required libraries using the |
I see. Thanks for the reply. BTW, could you explain why not automatically installing the dependencies required by the collections? Will it bring any side effects? And further more, do we have an option to install them when installing the collections? e.g. |
Basically, dependencies are maintained by the third party. Installing them using ansible-galaxy command makes the user think that they are supported and maintained by collection/Ansible as well (which is not true). Ansible never installs dependencies for the user, since every user's environment might differ. You might want to take a look at this issue ansible/ansible#69174 for further information. |
ansible/ansible/pull/69993 changed copy's mode behaviour. Lambda tests which copy files to '{{ outpur_dir }}' before zipping are now being unzipped by Lambda with incorrect permissions, causing test failures. This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@1b1dbee
…copying lambdas) (ansible-collections#168) lambda_policy should now be stable apply same change to s3_bucket_notification This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@0bad2c0
ansible/ansible/pull/69993 changed copy's mode behaviour. Lambda tests which copy files to '{{ outpur_dir }}' before zipping are now being unzipped by Lambda with incorrect permissions, causing test failures. This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@1b1dbee
…copying lambdas) (ansible-collections#168) lambda_policy should now be stable apply same change to s3_bucket_notification This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@0bad2c0
ansible/ansible/pull/69993 changed copy's mode behaviour. Lambda tests which copy files to '{{ outpur_dir }}' before zipping are now being unzipped by Lambda with incorrect permissions, causing test failures. This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@1b1dbee
…copying lambdas) (ansible-collections#168) lambda_policy should now be stable apply same change to s3_bucket_notification This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@0bad2c0
ansible/ansible/pull/69993 changed copy's mode behaviour. Lambda tests which copy files to '{{ outpur_dir }}' before zipping are now being unzipped by Lambda with incorrect permissions, causing test failures. This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@1b1dbee
…copying lambdas) (ansible-collections#168) lambda_policy should now be stable apply same change to s3_bucket_notification This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@0bad2c0
ansible/ansible/pull/69993 changed copy's mode behaviour. Lambda tests which copy files to '{{ outpur_dir }}' before zipping are now being unzipped by Lambda with incorrect permissions, causing test failures. This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@1b1dbee
…copying lambdas) (ansible-collections#168) lambda_policy should now be stable apply same change to s3_bucket_notification This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@0bad2c0
ansible/ansible/pull/69993 changed copy's mode behaviour. Lambda tests which copy files to '{{ outpur_dir }}' before zipping are now being unzipped by Lambda with incorrect permissions, causing test failures.
…copying lambdas) (ansible-collections#168) lambda_policy should now be stable apply same change to s3_bucket_notification
SUMMARY
After installing by using galaxy CLI:
ansible-galaxy collection install amazon.aws
. I got error as below when I ranansible-inventory --graph
:I saw the required packages hadn't been installed in my .venv. So do I have to install the required packages by myself? Like calling
pip install -r collections/ansible_collections/amazon/aws/requirements.txt
?ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 18.04.5
STEPS TO REPRODUCE
Since I have
xxx.aws_ec2.yml
under my inventories folder, the last commandansible-inventory --graph
will fail.EXPECTED RESULTS
The command
ansible-inventory --graph
should work.ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: