From 2016d571fa22fc4660d9227cb94d799b2946ff7e Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Tue, 5 Dec 2017 23:19:25 -0700 Subject: [PATCH] remove silly ansible.cfg magic --- docker-connect | 2 -- 1 file changed, 2 deletions(-) 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" -- 2.45.2