Skip to content

Commit

Permalink
feat(bootstrap): use updated ansible install process
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasnorrby committed Sep 30, 2020
1 parent f7c4091 commit 764e052
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 764e052

Please sign in to comment.