Adding a missing '~' to use the user's home directory instead of the root file system for the module arguments

This commit is contained in:
Peter Sankauskas 2012-05-02 09:50:20 -07:00
parent df61a65344
commit f9a14cfec1

View file

@ -49,7 +49,7 @@ if len(sys.argv) > 1:
else:
args = ""
argspath = os.path.expanduser("/.ansible_test_module_arguments")
argspath = os.path.expanduser("~/.ansible_test_module_arguments")
argsfile = open(argspath, 'w')
argsfile.write(args)
argsfile.close()