2
0

notification tweak

This commit is contained in:
2024-06-17 08:57:35 +02:00
parent 0b469c5cda
commit 3b66befce0

View File

@@ -18,6 +18,7 @@
wait_for_connection: wait_for_connection:
delay: 5 delay: 5
timeout: 300 timeout: 300
when: reboot.stat.exists
- name: Collect results - name: Collect results
set_fact: set_fact:
@@ -28,6 +29,9 @@
uri: uri:
url: "{{ Teams_webhook }}" url: "{{ Teams_webhook }}"
method: POST method: POST
body: "{{ results }}" body: |
{
"text": "{{ results }}"
}
body_format: json body_format: json
# when: reboot.stat.exists # when: reboot.stat.exists