Skip to content

Instantly share code, notes, and snippets.

View kamazee's full-sized avatar

Alexander Kurilo kamazee

View GitHub Profile
@kamazee
kamazee / gist:77371a41625bbaf3ec0c
Created May 25, 2014 12:37
.bat-proxy to run ansible-playbook on Windows
@echo off
set BASH_PATH=bash
set CYGPATH=cygpath
REM Well, here is the problem:
REM Vagrant ships a set of POSIX utils, including bash
REM And for this script environemnt contains
REM modified %Path% which contains Vagrant's bin prior to cygwin's one,
REM so call "bash" gives Vagrant's bash, not cygwin's
REM Bad! Let's set cygwin's bin prior to Vagrant's one back: