Fix conditional; cant check string against integer

This commit is contained in:
Chris Hammer 2024-07-31 23:29:03 -04:00
parent 490170e752
commit 8245abf806

View File

@ -28,4 +28,4 @@
label: "{{ item['item'] }}"
when:
- item['item'] not in bigboot_protected_services
- item['stdout'] | regex_replace('^.*=(.*$)', '\\1') | community.general.to_minutes > bigboot_service_max_timeout
- item['stdout'] | regex_replace('^.*=(.*$)', '\\1') | community.general.to_minutes >= bigboot_service_max_timeout | int