notification tweak
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
wait_for_connection:
|
||||
delay: 5
|
||||
timeout: 300
|
||||
when: reboot.stat.exists
|
||||
|
||||
- name: Collect results
|
||||
set_fact:
|
||||
@@ -28,6 +29,9 @@
|
||||
uri:
|
||||
url: "{{ Teams_webhook }}"
|
||||
method: POST
|
||||
body: "{{ results }}"
|
||||
body: |
|
||||
{
|
||||
"text": "{{ results }}"
|
||||
}
|
||||
body_format: json
|
||||
# when: reboot.stat.exists
|
||||
Reference in New Issue
Block a user