Adding a missing '~' to use the user's home directory instead of the root file system for the module arguments
parent
df61a65344
commit
f9a14cfec1
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue