changes to result collection
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
- 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:
|
||||
|
||||
Reference in New Issue
Block a user