Skip to content

Instantly share code, notes, and snippets.

@trohit
Last active September 12, 2018 03:10
Show Gist options
  • Save trohit/0fe9ebb32362f3ccbf5a792c31458e3f to your computer and use it in GitHub Desktop.
Save trohit/0fe9ebb32362f3ccbf5a792c31458e3f to your computer and use it in GitHub Desktop.
to install python and ansible on coreos
#!/bin/bash
# get directly from sources
git clone https://github.com/pypa/virtualenv.git
cd virtualenv
python2.7 virtualenv.py venv
cd venv
source bin/activate
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python2.7 get-pip.py
pip install ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment