☰
Debian Codegraph
@
0.3.50-1
/
/
tests
/
ansible
/
lib
/
modules
/
custom_python_os_getcwd.py
☽
☼
tests/ansible/lib/modules/custom_python_os_getcwd.py
code
plain
raw
BSD-3-Clause
2021-2026, the Mitogen authors
debian/copyright
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
}))