-
Notifications
You must be signed in to change notification settings - Fork 19
notification_info
Note
This module is part of the lucasheld.uptime_kuma collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install lucasheld.uptime_kuma
.
To use it in a playbook, specify: lucasheld.uptime_kuma.notification_info
.
- Retrieves facts about a notification.
The below requirements are needed on the host that executes this module.
- uptime_kuma_api
Parameter |
Comments |
---|---|
The Uptime Kuma password. Only required if no api_token specified. |
|
The Uptime Kuma login token. Only required if no api_username and api_password specified. |
|
The Uptime Kuma URL. Default: "http://127.0.0.1:3001" |
|
The Uptime Kuma username. Only required if no api_token specified. |
|
The id of the notification to inspect. |
|
The name of the notification to inspect. |
- name: get all notifications
lucasheld.uptime_kuma.notification_info:
api_url: http://192.168.1.10:3001
api_username: admin
api_password: secret
register: result
Common return values are documented :ref:`here <common_return_values>`, the following are the fields unique to this module:
Key |
Description |
---|---|
The notifications as list Returned: always |
- Lucas Held (@lucasheld)