Created
May 19, 2018 23:23
-
-
Save geekbass/85b2ec18eb73a11f319d820ec17b2549 to your computer and use it in GitHub Desktop.
dcos agent setup first provisioner
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
#!/bin/bash | |
set -e | |
# Install epel-release for later | |
sudo yum install -y epel-release wget curl | |
# Setup Python | |
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" | |
sudo python get-pip.py | |
sudo rm -rf get-pip.py | |
sudo pip install virtualenv | |
# Install jq becasue it is awesome! Yay! | |
sudo wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 -O /usr/bin/jq | |
sudo chmod 0775 /usr/bin/jq | |
# Install Ansible for Ansible Provisioner | |
sudo yum install -y ansible |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment