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

Install 'cryptography' using 'pip' Instead of Using System's Package Manager #596

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

jswongF5
Copy link
Contributor

@jswongF5 jswongF5 commented Mar 14, 2023

Proposed changes

The cryptography package was installed using the OS's repo package manager. This PR will change from using the system's package manager to pip.

This is to resolve an error when running this role using Amazon Linux 2 (AL2). The python interpreter uses python2 in container tests but python3 on AL2 deployed in AWS. This role tries to install python3-cryptography which does not exists.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have added Molecule tests that prove my fix is effective or that my feature works
  • I have checked that any relevant Molecule tests pass after adding my changes
  • I have updated any relevant documentation (defaults/main/*.yml, README.md and CHANGELOG.md)

@jswongF5 jswongF5 requested a review from alessfg as a code owner March 14, 2023 05:15
@alessfg alessfg added the enhancement Enhance/improve an existing feature label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance/improve an existing feature
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants