Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sherwind/400ee01d4f5cdb0cdb367d30720f1ac6 to your computer and use it in GitHub Desktop.
Save sherwind/400ee01d4f5cdb0cdb367d30720f1ac6 to your computer and use it in GitHub Desktop.
Installing multiple versions of ansible
pyenv install 3.8.2
pyenv global 3.8.2
pyenv virtualenv ansible29
pyenv activate ansible29
pip install --upgrade pip
pip install ansible~=2.9.0 awscli pycrypto netaddr boto boto3
pyenv rehash
pyenv deactivate
pyenv virtualenv ansible24
pyenv activate ansible24
pip install --upgrade pip
pip install ansible~=2.4.0 awscli pycrypto netaddr boto boto3
pyenv rehash
pyenv deactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment