Debian Codegraph @

tests/ansible/lib/modules/custom_python_os_getcwd.py

raw
1 #!/usr/bin/python
2 # #591: call os.getcwd() before AnsibleModule ever gets a chance to fix up the
3 # process environment.
4
5 import json
6 import os
7
8
9 print(json.dumps({
10 'cwd': os.getcwd()
11 }))