Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save johanmeiring/935dc22ba8224184095824f9c7c80257 to your computer and use it in GitHub Desktop.
Save johanmeiring/935dc22ba8224184095824f9c7c80257 to your computer and use it in GitHub Desktop.
Ansible on Windows via Vagrant
vagrant init withinboredom/Trusty64
vagrant ssh
sudo apt-get update
sudo apt-get install -y language-pack-en git python-dev python-pip libkrb5-dev
sudo locale-gen en_US.UTF-8
cd /home/vagrant && git clone git://github.com/ansible/ansible.git --recursive
sudo pip install paramiko PyYAML Jinja2 httplib2 six "pywinrm>=0.1.1" kerberos
echo "source /home/vagrant/ansible/hacking/env-setup" >> /home/vagrant/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment