-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support virtual environment for ansible 2.0.0.2 #4325
Conversation
how to use? example? |
@@ -147,4 +148,8 @@ RUN azure-cli_bundle_*/installer | |||
# TODO: if azure-cli contains newer version azure-keyvault, remove this | |||
RUN ~/lib/azure-cli/bin/python -m pip install azure-keyvault==0.3.7 -U | |||
|
|||
# Install Virtual Environment | |||
RUN python -m virtualenv --system-site-packages env-201803 | |||
RUN env-201803/bin/pip install ansible==2.0.0.2 |
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.
201811?
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.
also, do we have 2.0.0.2-1?
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.
Changed to 201811. I only find 2.0.0.2, there are no 2.0.0.2-1.
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.
Call the command ". env-201811/bin/activate" to initialize the environment. You will use ansible 2.0.0.2. The other python packages will use the same as system default ones. Only overwrite the ansible and its dependency packages.
. env-201811/bin/activate The ansible 2.0.0.2 will be used.
…net#4325) . env-201811/bin/activate The ansible 2.0.0.2 will be used.
- What I did
Install virtual environment for ansible 2.0.0.2
- How I did it
- How to verify it
. env-201811/bin/activate
The ansible 2.0.0.2 will be used.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)