diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py index 44ec8ee2ec3..8de22478cf1 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py @@ -476,8 +476,11 @@ def main(): event for event in events_service.list( from_=int(last_event.id), - search='type=885 and host.name=%s' % host.name, - ) + search='type=885', + # Uncomment when 4.1 is EOL, and remove the cond: + # if host.name in event.description + # search='type=885 and host.name=%s' % host.name, + ) if host.name in event.description ]) > 0 ), fail_condition=lambda host: len([