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:
parent
df61a65344
commit
f9a14cfec1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue