From 764e0522d453383fbb160cea54d1bbc47a292531 Mon Sep 17 00:00:00 2001 From: Elias Norrby Date: Wed, 30 Sep 2020 14:14:41 +0200 Subject: [PATCH] feat(bootstrap): use updated ansible install process --- bootstrap.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 9b9f5e87..edca4fe7 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -63,11 +63,16 @@ cd $(mktemp -d) _get_repo_snapshot cd eliasnorrby-dotfiles* +_msg "Installing python 3..." +curl "https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg" -o "python3.pkg" +sudo installer -pkg python3.pkg -target / +export PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:$PATH + _msg "Installing pip..." -sudo easy_install pip +curl https://bootstrap.pypa.io/get-pip.py | sudo python3 _msg "Installing ansible..." -sudo pip install ansible +sudo -H pip3 install ansible _msg "Installing playbook requirements..." cd _provision