Skip to content

Instantly share code, notes, and snippets.

@lanky
Created October 7, 2016 15:42
Show Gist options
  • Save lanky/45889d4489003fa2f6397f17bf174ea0 to your computer and use it in GitHub Desktop.
Save lanky/45889d4489003fa2f6397f17bf174ea0 to your computer and use it in GitHub Desktop.
# requires a version of python 2
# "ansibleenv" can be anything you want, it creates a directory and populates it with python things
virtualenv ansibleenv
source ansibleenv/bin/activate
pip install ansible
# now you should be able to run ansible commands as usual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment