]> Dogcows Code - chaz/docker-connect/commitdiff
remove silly ansible.cfg magic
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Wed, 6 Dec 2017 06:19:25 +0000 (23:19 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Wed, 6 Dec 2017 06:19:25 +0000 (23:19 -0700)
docker-connect

index ca2f3f24b427308abebdeb105f7e9094c1f700f2..93c5bac3ada0f9f5925a4993d785abeb53e75363 100755 (executable)
@@ -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"
This page took 0.028204 seconds and 4 git commands to generate.