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

ensure virtualenv is installed before bindep run #458

Merged
merged 1 commit into from
May 19, 2020
Merged

ensure virtualenv is installed before bindep run #458

merged 1 commit into from
May 19, 2020

Conversation

goneri
Copy link
Collaborator

@goneri goneri commented May 11, 2020

Bindep uses the virtualenv command.

@@ -1,6 +1,12 @@
---
- hosts: controller
tasks:
- name: Ensure virtualenv package is installed -- See https://review.opendev.org/#/c/727413/
Copy link
Contributor

Choose a reason for hiding this comment

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

So for this, I think we it would be best to make this condition on AWS. One idea I have, is we create a nodeset group_var, for appliance but some how reference aws. That way, this only runs on aws nodes, and not modify DIBs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What do we need to make the AWS node reach parity with a DIB image?

Copy link
Contributor

Choose a reason for hiding this comment

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

realistically, take DIB image, export as AMI and upload it. That would be best solution, but that required work to happen.

That's why I think making this condition is a good step to avoid unneeded DIB config changes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I agree. Now the block is only enabled on aws, so we will avoid any side effects.

Bindep uses the `virtualenv` command.

See: https://review.opendev.org/#/c/727413/

Signed-off-by: Gonéri Le Bouder <[email protected]>
@goneri goneri added the gate label May 19, 2020
@ansible-zuul ansible-zuul bot merged commit 7c79f9e into ansible:master May 19, 2020
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.

2 participants