mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge branch 'patch-1' of https://github.com/dmkoch/ansible into dmkoch-patch-1
This commit is contained in:
commit
751510141f
1 changed files with 2 additions and 0 deletions
|
@ -1074,6 +1074,8 @@ class AnsibleModule(object):
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
if cwd:
|
||||||
|
os.chdir(cwd)
|
||||||
cmd = subprocess.Popen(args, **kwargs)
|
cmd = subprocess.Popen(args, **kwargs)
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
|
|
Loading…
Reference in a new issue