ansible-role-nginx
ansible-role-nginx copied to clipboard
Install 'cryptography' using 'pip' Instead of Using System's Package Manager
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.
- [x] I have read the
CONTRIBUTING
document - [x] I have added Molecule tests that prove my fix is effective or that my feature works
- [x] I have checked that any relevant Molecule tests pass after adding my changes
- [x] I have updated any relevant documentation (
defaults/main/*.yml
,README.md
andCHANGELOG.md
)