#!/bin/bash set -e # The Amazon Linux 2 Ansible package is 2.4, which has issue # interacting with RDS, so use pipenv to install a known-good version. # Luckily AmzLnx2 and Ubuntu use the same package name. This may need # some logic if other distros are added. Note: Parsing /etc/os-release # is probably a good starting point for that. ./bin/pacapt install python-pip pip install pipenv pipenv sync