Skip to content

Instantly share code, notes, and snippets.

@PeterMK85
Last active February 11, 2016 08:49
Show Gist options
  • Save PeterMK85/e1b8215ebd5b6fba4d76 to your computer and use it in GitHub Desktop.
Save PeterMK85/e1b8215ebd5b6fba4d76 to your computer and use it in GitHub Desktop.
Ansible & Vagrant on windows
# Win8.1 x64 Ansible & Vagrant
# Pre requisite: Vagrant, VirtualBox
# Cygwin
https://cygwin.com/
# Installer can be used az a package manager
# Packages: rsync & openssh & nokogiri
# Or cwRyinc
https://www.itefix.net/cwrsync
# Vagrant 1.8.0 & 1.8.1 has a bug
# need to adjust the helper.rb
https://github.com/mitchellh/vagrant/issues/6702#issuecomment-166503021
# Vagrant helper command to install ansible
# as a vagrant plugin
vagrant plugin install vagrant-guest_ansible
vagrant plugin install vagrant-aws
# Both Cygwin and VirtualBox need to provide Admin rights
# To capable of creating symlinks
# Vagrant - Ansible reference on windows
<% USER %>\.vagrant.d\gems\gems\vagrant-guest_ansible-0.0.3\lib\vagrant-guest_ansible\
# To share Vagrant
vagrant share <% tartget VM %> --ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment