Added ansible role
This commit is contained in:
parent
90d50084a7
commit
040bd08503
3
Ansible/tellme_notification/defaults/main.yml
Normal file
3
Ansible/tellme_notification/defaults/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
tellme_url: https://
|
||||
tellme_webhook: 123
|
11
Ansible/tellme_notification/tasks/main.yml
Normal file
11
Ansible/tellme_notification/tasks/main.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Send a tellme notification
|
||||
uri:
|
||||
url: "{{ tellme_url }}/webhook/{{ tellme_webhook }}"
|
||||
method: POST
|
||||
body:
|
||||
message: "EPS Ansible run completed"
|
||||
body_format: json
|
||||
delegate_to: mon01
|
||||
run_once: true
|
||||
ignore_errors: yes
|
Loading…
Reference in New Issue
Block a user