mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user