diff --git a/tests/integration/targets/apache2_module/tasks/actualtest.yml b/tests/integration/targets/apache2_module/tasks/actualtest.yml index 6fd10ce572..606b2575f4 100644 --- a/tests/integration/targets/apache2_module/tasks/actualtest.yml +++ b/tests/integration/targets/apache2_module/tasks/actualtest.yml @@ -186,7 +186,7 @@ - name: ensure configcheck fails task with when run without mpm modules assert: that: - - "{{ item.failed }}" + - item is failed with_items: "{{ remove_with_configcheck.results }}" - name: try to disable all mpm modules without configcheck diff --git a/tests/integration/targets/ldap_search/tasks/tests/schema.yml b/tests/integration/targets/ldap_search/tasks/tests/schema.yml index 892eac3cb3..ca26305b82 100644 --- a/tests/integration/targets/ldap_search/tasks/tests/schema.yml +++ b/tests/integration/targets/ldap_search/tasks/tests/schema.yml @@ -20,6 +20,7 @@ - name: Assert that the schema output is correct assert: that: - - output is not failed - - output.results | length >= 1 - - "{{ 'displayName' in output.results.0.attrs }}" + - output is not failed + - output.results | length >= 1 + - >- + 'displayName' in output.results.0.attrs