Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@geekbass
Created May 19, 2018 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekbass/85b2ec18eb73a11f319d820ec17b2549 to your computer and use it in GitHub Desktop.
Save geekbass/85b2ec18eb73a11f319d820ec17b2549 to your computer and use it in GitHub Desktop.
dcos agent setup first provisioner
#!/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