]> Dogcows Code - chaz/docker-connect/blobdiff - docker-connect
remove silly ansible.cfg magic
[chaz/docker-connect] / 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.017036 seconds and 4 git commands to generate.