diff --git a/Ansible/tellme_notification/defaults/main.yml b/Ansible/tellme_notification/defaults/main.yml new file mode 100644 index 0000000..7576c21 --- /dev/null +++ b/Ansible/tellme_notification/defaults/main.yml @@ -0,0 +1,3 @@ +--- +tellme_url: https:// +tellme_webhook: 123 diff --git a/Ansible/tellme_notification/tasks/main.yml b/Ansible/tellme_notification/tasks/main.yml new file mode 100644 index 0000000..592fffe --- /dev/null +++ b/Ansible/tellme_notification/tasks/main.yml @@ -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