This repository has been archived by the owner on Mar 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 394
Dependencies are not installed with --project-path option #593
Comments
Howdy, and thank you for the bug report? Any way I can convince you to include the full debug build output? It would be helpful to see the parts in the build process where the Conductor container runs |
|
I am actually affected by this bug as well, LMK if you need a stacktrace from my hand. I am hacking this from the beginning using a pip install statement in my
This is definitely blocking for us because we need to use |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ISSUE TYPE
Bug Report
The following files are located in
/tmp/test
:container.yml
requirements.yml
ansible-requirements.txt
OS / ENVIRONMENT
SUMMARY
Python dependencies declared in
ansible-requirements.txt
and role dependencies declared inrequirements.yml
are not installed in the conductor container when theansible-container build
is called from outside the project directory with--project-path
option. Thepostgresql
role is subsequently not found and PostgreSQL modules would fail downstream due to missingpsycopg2
package.STEPS TO REPRODUCE
EXPECTED RESULTS
Successful inclusion of
postgresql
role defined inrequirements.yml
and execution of Ansible modulepostgresql_user
upon addingpsycopg2
toansible-requirements.txt
.ACTUAL RESULTS
Role not found.
WORKAROUND
Changing directory before calling
ansible-container
solves the problem:The text was updated successfully, but these errors were encountered: