mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
Specify device for Pushover notification (#802)
* Specify device for Pushover notification New parameter: device Example: - community.general.pushover: msg: '{{ inventory_hostname }} has been lost somewhere' app_token: wxfdksl user_key: baa5fe97f2c5ab3ca8f0bb59 device: admins-iPhone delegate_to: localhost Using the Pushover API, you can specify a device where the message should be delivered to. Instead of notifying all devices (the default), the message is sent only to the specified device. Multiple devices can be given separated by a comma. This change is downwards compatible: omitting the device key sends the message to all devices (as before). * Added changelog fragments file for pushover File format as specified in https://docs.ansible.com/ansible/devel/community/development_process.html#changelogs-how-to. * Added version_added information As suggested by Felix (thanks!). Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
6dc98c08fd
commit
bf41ddc8ef
2 changed files with 26 additions and 3 deletions
2
changelogs/fragments/802-pushover-device-parameter.yml
Normal file
2
changelogs/fragments/802-pushover-device-parameter.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- pushover - add device parameter (https://github.com/ansible-collections/community.general/pull/802).
|
Loading…
Add table
Add a link
Reference in a new issue