Commit 6b152c94 by Michael DeHaan

Correct the setup module

parent 3ea9174e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment