mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-11 07:14:43 +02:00
Add 'Firebase: no' header, closes #42
This commit is contained in:
parent
d6fbccab55
commit
f966b2f9d7
3 changed files with 88 additions and 14 deletions
docs
|
@ -64,5 +64,14 @@ It looked something like this:
|
|||
curl -d "$(hostname),$count,$time" ntfy.sh/results
|
||||
```
|
||||
|
||||
## Ansible, Salt and Puppet
|
||||
You can easily integrate ntfy into Ansible, Salt, or Puppet to notify you when runs are done or are highstated.
|
||||
One of my co-workers uses the following Ansible task to let him know when things are done:
|
||||
|
||||
|
||||
```yml
|
||||
- name: Send ntfy.sh update
|
||||
uri:
|
||||
url: "https://ntfy.sh/{{ ntfy_channel }}"
|
||||
method: POST
|
||||
body: "{{ inventory_hostname }} reseeding complete"
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue