-
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 git+https://github.com/lucasheld/ansible-uptime-kuma.git
.
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
Key |
Description |
---|---|
The notifications as list Returned: always |
|
Returned: always Sample: true |
|
Returned: if type is alerta |
|
Returned: if type is alerta |
|
Returned: if type is alerta |
|
Returned: if type is alerta |
|
Returned: if type is alerta |
|
Returned: if type is aliyun_sms |
|
Returned: if type is aliyun_sms |
|
Returned: if type is aliyun_sms |
|
Returned: if type is aliyun_sms |
|
Returned: if type is aliyun_sms |
|
Returned: if type is apprise |
|
Returned: if type is apprise |
|
Returned: if type is bark |
|
Returned: if type is clicksendsms |
|
Returned: if type is clicksendsms |
|
Returned: if type is clicksendsms |
|
Returned: if type is clicksendsms |
|
Returned: always Sample: false |
|
Returned: if type is ding_ding |
|
Returned: if type is ding_ding |
|
Returned: if type is discord |
|
Returned: if type is discord |
|
Returned: if type is discord |
|
Returned: if type is feishu |
|
Returned: if type is google_chat |
|
Returned: if type is gorush |
|
Returned: if type is gorush |
|
Returned: if type is gorush |
|
Returned: if type is gorush |
|
Returned: if type is gorush |
|
Returned: if type is gorush |
|
Returned: if type is gorush |
|
Returned: if type is gotify |
|
Returned: if type is gotify |
|
Returned: if type is gotify |
|
The id of the notification. Returned: always Sample: 1 |
|
Returned: if type is line |
|
Returned: if type is line |
|
Returned: if type is lunasea |
|
Returned: if type is matrix |
|
Returned: if type is matrix |
|
Returned: if type is matrix |
|
Returned: if type is mattermost |
|
Returned: if type is mattermost |
|
Returned: if type is mattermost |
|
Returned: if type is mattermost |
|
Returned: if type is mattermost |
|
The id of the notification. Returned: always Sample: "My Telegram Alert (1)" |
|
Returned: if type is ntfy |
|
Returned: if type is ntfy |
|
Returned: if type is ntfy |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is octopush |
|
Returned: if type is one_bot |
|
Returned: if type is one_bot |
|
Returned: if type is one_bot |
|
Returned: if type is one_bot |
|
Returned: if type is pager_duty |
|
Returned: if type is pager_duty |
|
Returned: if type is pager_duty |
|
Returned: if type is pager_duty |
|
Returned: if type is promosms |
|
Returned: if type is promosms |
|
Returned: if type is promosms |
|
Returned: if type is promosms |
|
Returned: if type is promosms |
|
Returned: if type is push_by_techulus |
|
Returned: if type is push_deer |
|
Returned: if type is pushbullet |
|
Returned: if type is pushover |
|
Returned: if type is pushover |
|
Returned: if type is pushover |
|
Returned: if type is pushover |
|
Returned: if type is pushover |
|
Returned: if type is pushover |
|
Returned: if type is pushy |
|
Returned: if type is pushy |
|
Returned: if type is rocket_chat |
|
Returned: if type is rocket_chat |
|
Returned: if type is rocket_chat |
|
Returned: if type is rocket_chat |
|
Returned: if type is rocket_chat |
|
Returned: if type is serwersms |
|
Returned: if type is serwersms |
|
Returned: if type is serwersms |
|
Returned: if type is serwersms |
|
Returned: if type is signal |
|
Returned: if type is signal |
|
Returned: if type is signal |
|
Returned: if type is slack |
|
Returned: if type is slack |
|
Returned: if type is slack |
|
Returned: if type is slack |
|
Returned: if type is slack |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is smtp |
|
Returned: if type is stackfield |
|
Returned: if type is teams |
|
Returned: if type is telegram |
|
Returned: if type is telegram |
|
Returned: always Sample: "telegram" |
|
Returned: always Sample: 1 |
|
Returned: if type is we_com |
|
Returned: if type is webhook |
|
Returned: if type is webhook |
- Lucas Held (@lucasheld)