|
|
@ -148,16 +148,7 @@
|
|
|
|
custom_python_detect_environment:
|
|
|
|
custom_python_detect_environment:
|
|
|
|
register: out
|
|
|
|
register: out
|
|
|
|
|
|
|
|
|
|
|
|
# v2.6 related: https://github.com/ansible/ansible/pull/39833
|
|
|
|
- name: "Verify modules get the same tmpdir as the action plugin"
|
|
|
|
- name: "Verify modules get the same tmpdir as the action plugin (<2.5)"
|
|
|
|
|
|
|
|
when: ansible_version.full < '2.5'
|
|
|
|
|
|
|
|
assert:
|
|
|
|
|
|
|
|
that:
|
|
|
|
|
|
|
|
- out.module_path.startswith(good_temp_path2)
|
|
|
|
|
|
|
|
- out.module_tmpdir == None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Verify modules get the same tmpdir as the action plugin (>2.5)"
|
|
|
|
|
|
|
|
when: ansible_version.full > '2.5'
|
|
|
|
|
|
|
|
assert:
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- out.module_path.startswith(good_temp_path2)
|
|
|
|
- out.module_path.startswith(good_temp_path2)
|
|
|
|