1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-31 17:36:21 +00:00

Fix no longer valid constructs in tests (#10543)

Fix no longer valid constructs in tests.
This commit is contained in:
Felix Fontein 2025-08-01 23:46:46 +02:00 committed by GitHub
parent 3b551f92fc
commit 7298f25fe0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -34,7 +34,8 @@
- name: Test that file exists
assert:
that: "{{ item.stat.exists }}"
that:
- item.stat.exists
quiet: true
loop: "{{ result_files_stat.results }}"
loop_control:

View file

@ -22,4 +22,5 @@
that:
- output is not failed
- output.results | length >= 1
- "{{ 'displayName' in output.results.0.attrs }}"
- >-
'displayName' in output.results.0.attrs