issue #591: fix test for Ansible 2.3.

pull/595/head
David Wilson 6 years ago
parent 0b7fd3f290
commit e90c05dc9d

@ -11,7 +11,11 @@
- custom_python_run_script: - custom_python_run_script:
script: | script: |
import os import os
os.chdir(module.tmpdir) try:
os.chdir(module.tmpdir)
except:
# Ansible 2.3.
os.chdir(os.path.dirname(__file__))
# Will crash if process has a nonexistent CWD. # Will crash if process has a nonexistent CWD.
- custom_python_os_getcwd: - custom_python_os_getcwd:

Loading…
Cancel
Save