community / community.general / 1.3.11 / module / pushover Send notifications via U(https://pushover.net) Authors: Jim Richardson (@weaselkeeper), Bernd Arnold (@wopfel)community.general.pushover (1.3.11) — module
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
Send notifications via pushover, to subscriber list of devices, and email addresses. Requires pushover app on devices.
- 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
msg: description: - What message you wish to send. required: true type: str pri: choices: - '-2' - '-1' - '0' - '1' - '2' default: '0' description: - Message priority (see U(https://pushover.net) for details). required: false type: str title: description: - Message title. required: false type: str device: description: - A device the message should be sent to. Multiple devices can be specified, separated by a comma. required: false type: str version_added: 1.2.0 version_added_collection: community.general user_key: description: - Pushover issued authentication key for your user. required: true type: str app_token: description: - Pushover issued token identifying your pushover app. required: true type: str