From d7fdb4c4c24d2d692f73330718a6e6ff29559a07 Mon Sep 17 00:00:00 2001 From: Ben Partridge Date: Thu, 28 Nov 2019 15:29:44 +1100 Subject: [PATCH] Suppress emoji and standard output when calling pipenv as it outputs characters in non-ascii which causes errors in cloud-init --- bin/install-ansible | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/install-ansible b/bin/install-ansible index 196562e..d50f943 100755 --- a/bin/install-ansible +++ b/bin/install-ansible @@ -20,7 +20,8 @@ fi export PATH=/usr/local/bin:$PATH pip3 install pipenv -pipenv sync +echo "Installing ansible and dependencies..." +PIPENV_HIDE_EMOJIS=1 pipenv sync >/dev/null if [[ $1 == "--dev" ]]; then pipenv sync --dev