From 6957b785527dff9eb5076c59f900c19a72b13dd2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 4 Aug 2014 20:28:10 +0900 Subject: [PATCH] shrc: add adhoc fix for ansible on cygwin --- ansible/hosts | 2 +- shrc | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ansible/hosts b/ansible/hosts index 46b0635..40f8ca6 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -1 +1 @@ -debian-vb ansible_ssh_host=192.168.2.103 ansible_ssh_user=yuk +debian-vb diff --git a/shrc b/shrc index 4033049..be35c05 100755 --- a/shrc +++ b/shrc @@ -190,6 +190,13 @@ then export CHIT_PATH="$HOME/dbx/.chit" fi +# adhoc fix for ansible on cygwin +# http://blog.s-uni.net/2013/08/27/ansible-running-on-cygwin/ +if $incygwin +then + export ANSIBLE_SSH_ARGS="-o ControlMaster=no" +fi + ########################## # Zsh specific preferences