diff --git a/tests/integration/targets/test_zabbix_regexp_info/tasks/main.yml b/tests/integration/targets/test_zabbix_regexp_info/tasks/main.yml index becffbade..854f622f2 100644 --- a/tests/integration/targets/test_zabbix_regexp_info/tasks/main.yml +++ b/tests/integration/targets/test_zabbix_regexp_info/tasks/main.yml @@ -8,7 +8,7 @@ ansible.builtin.assert: that: - zbxregexp_get.changed is sameas False - - zbxregexp_get.regexp == expected_regexp + - zbxregexp_get.regexp | ansible.utils.fact_diff(expected_regexp) | length == 0 vars: expected_regexp: name: "File systems for discovery"