diff --git a/Testing/maint-reboot-required-notify.yaml b/Testing/maint-reboot-required-notify.yaml index f6c9d77..cd97299 100644 --- a/Testing/maint-reboot-required-notify.yaml +++ b/Testing/maint-reboot-required-notify.yaml @@ -22,8 +22,8 @@ - name: Collect results set_fact: results: > - {{ 'Reboot required on ' inventory_hostname + 'ith reboot status: ' (reboot.stat.exists | ternary('True', 'False')) }} - + {{ 'Reboot required on ' ~ inventory_hostname ~ ' with reboot status: ' ~ (reboot.stat.exists | ternary('True', 'False')) }} + - name: Send notification to Teams uri: url: "{{ Teams_webhook }}"