Last active
December 11, 2019 14:55
-
-
Save robjwells/2325d2fd3ad816944375a3d9f81699e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -euf -o pipefail | |
cd $HOME/Desktop/ | |
rm -r 'imac-setup' || true | |
mkdir -p 'imac-setup' | |
cd 'imac-setup' | |
xcode-select --install || true | |
curl -s --show-error https://bootstrap.pypa.io/get-pip.py | sudo /usr/bin/python | |
pip install --user ansible | |
# Put system Python 2.7 pip directory on path | |
PATH="$HOME/Library/Python/2.7/bin/:$PATH" | |
git clone https://github.com/geerlingguy/mac-dev-playbook.git | |
cd mac-dev-playbook/ | |
# Config last updated 16:00 2019-09-01 | |
CONFIG='https://gist.githubusercontent.com/robjwells/d5dad7685e54af79a2c13c98f02fe38d/raw/a361139a0e81dc7b527e83d7ef7bcf8b859e2923/config.yml' | |
curl -s --show-error -O $CONFIG | |
sudo ln -s "/Users/sport/Library/Python/2.7/lib/python/site-packages/ansible" "/etc/ansible" || true | |
ansible-galaxy install -r requirements.yml | |
ansible-playbook main.yml -i inventory -K | |
pip3 install -U pip setuptools boto3 docopt requests beautifulsoup4 | |
cd "$HOME/Downloads/" | |
http --download "http://download.support.xerox.com/pub/drivers/CQ8570/drivers/macos1012/pt_BR/XeroxPrintDriver_5.1.0_2110.dmg" | |
open "XeroxPrintDriver_5.1.0_2110.dmg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment