diff --git a/tests/ansible/integration/interpreter_discovery/ansible_2_8_tests.yml b/tests/ansible/integration/interpreter_discovery/ansible_2_8_tests.yml index 9b974c6d..f639779d 100644 --- a/tests/ansible/integration/interpreter_discovery/ansible_2_8_tests.yml +++ b/tests/ansible/integration/interpreter_discovery/ansible_2_8_tests.yml @@ -63,13 +63,13 @@ ping: register: legacy + - name: check for dep warning (only on platforms where auto result is not /usr/bin/python and legacy is) for ansible 2.8-2.11 # from ansible 2.12 on this changed # - https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_5.html#python-interpreter-discovery # - https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html - # default discovery methot is now auto and will default to python3 + # default discovery method is now auto and will default to python3 # and the message changed from a deprecation warning to a real warning that can not be suppressed by # using deprecation_warnings=False - - name: check for dep warning (only on platforms where auto result is not /usr/bin/python and legacy is) for ansible 2.8-2.11 assert: that: - legacy.deprecations | default([]) | length > 0