changes to result collection
This commit is contained in:
@@ -22,8 +22,8 @@
|
|||||||
- name: Collect results
|
- name: Collect results
|
||||||
set_fact:
|
set_fact:
|
||||||
results: >
|
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
|
- name: Send notification to Teams
|
||||||
uri:
|
uri:
|
||||||
url: "{{ Teams_webhook }}"
|
url: "{{ Teams_webhook }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user