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