From: Charles McGarvey Date: Wed, 6 Dec 2017 06:19:25 +0000 (-0700) Subject: remove silly ansible.cfg magic X-Git-Tag: v0.81~2 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=2016d571fa22fc4660d9227cb94d799b2946ff7e;p=chaz%2Fdocker-connect remove silly ansible.cfg magic --- diff --git a/docker-connect b/docker-connect index ca2f3f2..93c5bac 100755 --- a/docker-connect +++ b/docker-connect @@ -236,8 +236,6 @@ if echo "$hostname" |grep -q '@' then user=$(echo "$hostname" |cut -d@ -f1) hostname=$(echo "$hostname" |cut -d@ -f2) -else - user=$(cat ansible.cfg 2>/dev/null |sed -ne 's/^remote_user[[:space:]]*=[[:space:]]*//p') fi ssh_connect="$hostname"