ansible.builtin.pushover (v2.9.27) — module

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

| "added in version" 2.0 of ansible.builtin"

Authors: Jim Richardson (@weaselkeeper)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Send notifications via pushover, to subscriber list of devices, and email addresses. Requires pushover app on devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- pushover:
    msg: '{{ inventory_hostname }} is acting strange ...'
    app_token: wxfdksl
    user_key: baa5fe97f2c5ab3ca8f0bb59
  delegate_to: localhost
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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

Inputs

    
msg:
    description:
    - What message you wish to send.
    required: true

pri:
    description:
    - Message priority (see U(https://pushover.net) for details).
    required: false

title:
    description:
    - Message title.
    required: false
    version_added: '2.8'
    version_added_collection: ansible.builtin

user_key:
    description:
    - Pushover issued authentication key for your user.
    required: true

app_token:
    description:
    - Pushover issued token identifying your pushover app.
    required: true