From 27e16d1ca3765c3d9791ed3d0304cf2ec0a1f01f Mon Sep 17 00:00:00 2001 From: Danny de Kooker Date: Sat, 8 Jun 2024 14:50:05 +0200 Subject: [PATCH] test --- Maintenance/maint-reboot-required.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintenance/maint-reboot-required.yaml b/Maintenance/maint-reboot-required.yaml index af79c59..497467d 100644 --- a/Maintenance/maint-reboot-required.yaml +++ b/Maintenance/maint-reboot-required.yaml @@ -36,7 +36,7 @@ {% for host in ansible_play_hosts_all %} { "name": "{{ host }}", - "value": "{% if host in groups.all | select('defined', 'eboot') | selectattr('reboot.stat.exists') %}&#U+2705 Rebooted{% else %}Not Rebooted{% endif %}" + "value": "{% if rebootrego['reboot'] is defined and rebootrego['reboot'].stat.exists %}&#U+2705 Rebooted{% else %}Not Rebooted{% endif %}" }{% if not loop.last %},{% endif %} {% endfor %} ]