From 2933e3c7af7463a849fe582e3b15d6ddc72dbfab Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Wed, 17 Apr 2019 16:15:36 +1000 Subject: [PATCH] DCD-224: Add wrapper for installing Ansible --- bin/install-ansible | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/install-ansible diff --git a/bin/install-ansible b/bin/install-ansible new file mode 100755 index 0000000..b588501 --- /dev/null +++ b/bin/install-ansible @@ -0,0 +1,10 @@ +#!/usr/bin/bash + +set -e + +# The Amazon Linux 2 Ansible package is 2.4, which has issue +# interacting with RDS, so use the PIP version. + +virtualenv --system-site-packages .venv +source .venv/bin/activate +pip install ansible==2.7.10