PARALLAX

pushover

Send notifications through U(https://pushover.net)

Collection: community.general

Full Name: community.general.pushover

Synopsis

Send notifications through U(https://pushover.net)

Parameters

NameTypeRequiredDefaultDescription
app_tokenstringyesPushover issued token identifying your pushover app.
devicestringA device the message should be sent to. Multiple devices can be specified, separated by a comma.
msgstringyesWhat message you wish to send.
pristring0Message priority (see U(https://pushover.net) for details).
titlestringMessage title.
user_keystringyesPushover issued authentication key for your user.

Example

yaml
- name: Send notifications via pushover.net
  community.general.pushover:
    msg: '{{ inventory_hostname }} is acting strange ...'
    app_token: wxfdksl
    user_key: baa5fe97f2c5ab3ca8f0bb59
  delegate_to: localhost

- name: Send notifications via pushover.net
  community.general.pushover:
    title: 'Alert!'
    msg: '{{ inventory_hostname }} has exploded in flames, It is now time to panic'
    pri: 1
    app_token: wxfdksl
    user_key: baa5fe97f2c5ab3ca8f0bb59
  delegate_to: localhost

- name: Send notifications via pushover.net to a specific device
  community.general.pushover:
    msg: '{{ inventory_hostname }} has been lost somewhere'
    app_token: wxfdksl
    user_key: baa5fe97f2c5ab3ca8f0bb59
    device: admins-iPhone
  delegate_to: localhost
Search
    ↑ ↓ move↵ openesc close