From 3c2b000db530bb13a1f0950a70545824030767fd Mon Sep 17 00:00:00 2001 From: Dylan Rathbone Date: Mon, 2 Nov 2020 16:40:52 +1000 Subject: [PATCH] Install lxml into system python env --- bin/install-ansible | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/install-ansible b/bin/install-ansible index 12561c6..bdd74b8 100755 --- a/bin/install-ansible +++ b/bin/install-ansible @@ -8,7 +8,8 @@ if [[ $ID = "amzn" ]]; then python3-devel \ python3-pip \ python2-boto3 \ - python2-botocore + python2-botocore \ + python-pip \ else # FIXME: Currently assumes Debian-based @@ -21,6 +22,7 @@ export PATH=/usr/local/bin:$PATH export PIP_DEFAULT_TIMEOUT=60 pip3 install pipenv +python -m pip install lxml echo "Installing ansible and dependencies..." PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv sync 2>&1 | iconv -c -f utf-8 -t ascii