From 85064807af65b488bc5003007c0ba0b4730c332f Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 21 Nov 2016 13:16:44 -0600 Subject: [PATCH] Removing test script for ansible-connection --- bin/test-output | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 bin/test-output diff --git a/bin/test-output b/bin/test-output deleted file mode 100755 index 0a86ad52081..00000000000 --- a/bin/test-output +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python - -import cPickle -import sys -from cStringIO import StringIO -from ansible.playbook.play_context import PlayContext - -p = PlayContext() -p.connection = 'paramiko_ssh' -p.remote_addr = '192.168.122.100' -p.port = 22 -p.remote_user = 'root' -p.password = '' - -src = StringIO() -cPickle.dump(p.serialize(), src) -sys.stdout.write(src.getvalue()) -sys.stdout.write('\n#END_INIT#\n') -sys.stdout.flush() - -while True: - data = sys.stdin.readline() - if data == '': - break - if data.strip() != '': - sys.stdout.write(data) - sys.stdout.flush()