From 6b152c94b9e61695ef662d9cee7b53f7990eb359 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 14 Mar 2012 19:06:35 -0400 Subject: [PATCH] Correct the setup module --- library/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/setup b/library/setup index c10547e553..6ab82f1a9d 100755 --- a/library/setup +++ b/library/setup @@ -36,7 +36,7 @@ if len(sys.argv) == 1: argfile = sys.argv[1] if not os.path.exists(argfile): sys.exit(1) -input_data = open(argfile, 'r').read() +input_data = shlex.split(open(argfile, 'r').read()) new_options = dict([ x.split('=') for x in input_data ]) ansible_file = new_options.get('metadata', DEFAULT_ANSIBLE_SETUP)