1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
patchback[bot] 6e2fee77a7
Specify device for Pushover notification (#802) (#913)
* 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>
(cherry picked from commit bf41ddc8ef)

Co-authored-by: Bernd Arnold <wopfel@gmail.com>
2020-09-17 19:41:11 +02:00
..
action New module: shutdown (#700) 2020-08-18 08:29:38 +02:00
become Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
cache Clean up deprecations (#504) 2020-06-16 13:15:19 +02:00
callback Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
connection Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-18 08:29:44 +02:00
doc_fragments Scaleway - Fix api_token documentation (#747) 2020-08-18 08:30:30 +02:00
filter JC plugin (#750) 2020-08-18 08:30:37 +02:00
inventory Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
lookup Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
module_utils ipa module utils: BUGFIX ipa modules Cookie problem with Loadbalanced IPA and Python3 (… (#738) 2020-08-18 08:30:04 +02:00
modules Specify device for Pushover notification (#802) (#913) 2020-09-17 19:41:11 +02:00