-
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.1.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 notifications.
The below requirements are needed on the host that executes this module.
- uptime-kuma-api
Parameter |
Comments |
---|---|
Headers that are passed to the socketio connection. |
|
The Uptime Kuma password. Only required if no api_token specified and authentication is enabled. |
|
true to verify SSL certificates, or false to skip SSL certificate verification, allowing connections to servers with self signed certificates. Choices:
|
|
How many seconds the client should wait for the connection, an expected event or a server response. Default: 10 |
|
The Uptime Kuma login token. Only required if no api_username and api_password specified and authentication is enabled. |
|
The Uptime Kuma URL. Default: "http://127.0.0.1:3001" |
|
The Uptime Kuma username. Only required if no api_token specified and authentication is enabled. |
|
How many seconds the client should wait for the next event of the same type. There is no way to determine when the last message of a certain type has arrived. Therefore, a timeout is required. If no further message has arrived within this time, it is assumed that it was the last message. Default: 0.2 |
|
The id of the notification to inspect. Only required if no name specified. |
|
The name of the notification to inspect. Only required if no id specified. |
- name: get all notifications
lucasheld.uptime_kuma.notification_info:
api_url: http://127.0.0.1:3001
api_username: admin
api_password: secret123
register: result
Key |
Description |
---|---|
The notifications as list Returned: always |
|
AliyunSMS provider option. Returned: if type is AliyunSMS |
|
OneBot provider option. Returned: if type is OneBot |
|
Returned: always Sample: true |
|
alerta provider option. Returned: if type is alerta |
|
alerta provider option. Returned: if type is alerta |
|
alerta provider option. Returned: if type is alerta |
|
alerta provider option. Returned: if type is alerta |
|
alerta provider option. Returned: if type is alerta |
|
AlertNow provider option. Returned: if type is AlertNow |
|
True if the notification is applied to all existing monitors. Returned: always |
|
apprise provider option. Returned: if type is apprise |
|
Bark provider option. Returned: if type is Bark |
|
Bark provider option. Returned: if type is Bark |
|
Bark provider option. Returned: if type is Bark |
|
clicksendsms provider option. Returned: if type is clicksendsms |
|
clicksendsms provider option. Returned: if type is clicksendsms |
|
clicksendsms provider option. Returned: if type is clicksendsms |
|
clicksendsms provider option. Returned: if type is clicksendsms |
|
smtp provider option. Returned: if type is smtp |
|
discord provider option. Returned: if type is discord |
|
discord provider option. Returned: if type is discord |
|
discord provider option. Returned: if type is discord |
|
Feishu provider option. Returned: if type is Feishu |
|
FreeMobile provider option. Returned: if type is FreeMobile |
|
FreeMobile provider option. Returned: if type is FreeMobile |
|
GoAlert provider option. Returned: if type is GoAlert |
|
GoAlert provider option. Returned: if type is GoAlert |
|
GoogleChat provider option. Returned: if type is GoogleChat |
|
gorush provider option. Returned: if type is gorush |
|
gorush provider option. Returned: if type is gorush |
|
gorush provider option. Returned: if type is gorush |
|
gorush provider option. Returned: if type is gorush |
|
gorush provider option. Returned: if type is gorush |
|
gorush provider option. Returned: if type is gorush |
|
gorush provider option. Returned: if type is gorush |
|
gotify provider option. Returned: if type is gotify |
|
gotify provider option. Returned: if type is gotify |
|
gotify provider option. Returned: if type is gotify |
|
HomeAssistant provider option. Returned: if type is HomeAssistant |
|
matrix provider option. Returned: if type is matrix |
|
OneBot provider option. Returned: if type is OneBot |
|
The id of the notification. Returned: always Sample: 1 |
|
matrix provider option. Returned: if type is matrix |
|
True if the notification is the default. Returned: always Sample: false |
|
Kook provider option. Returned: if type is Kook |
|
Kook provider option. Returned: if type is Kook |
|
line provider option. Returned: if type is line |
|
LineNotify provider option. Returned: if type is LineNotify |
|
line provider option. Returned: if type is line |
|
HomeAssistant provider option. Returned: if type is HomeAssistant |
|
lunasea provider option. Returned: if type is lunasea |
|
lunasea provider option. Returned: if type is lunasea |
|
lunasea provider option. Returned: if type is lunasea |
|
mattermost provider option. Returned: if type is mattermost |
|
mattermost provider option. Returned: if type is mattermost |
|
mattermost provider option. Returned: if type is mattermost |
|
mattermost provider option. Returned: if type is mattermost |
|
mattermost provider option. Returned: if type is mattermost |
|
SMSManager provider option. Returned: if type is SMSManager |
|
OneBot provider option. Returned: if type is OneBot |
|
The id of the notification. Returned: always Sample: "My Telegram Alert (1)" |
|
HomeAssistant provider option. Returned: if type is HomeAssistant |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
ntfy provider option. Returned: if type is ntfy |
|
SMSManager provider option. Returned: if type is SMSManager |
|
octopush provider option. Returned: if type is octopush |
|
octopush provider option. Returned: if type is octopush |
|
octopush provider option. Returned: if type is octopush |
|
octopush provider option. Returned: if type is octopush |
|
octopush provider option. Returned: if type is octopush |
|
octopush provider option. Returned: if type is octopush |
|
Opsgenie provider option. Returned: if type is Opsgenie |
|
Opsgenie provider option. Returned: if type is Opsgenie |
|
Opsgenie provider option. Returned: if type is Opsgenie |
|
PagerDuty provider option. Returned: if type is PagerDuty |
|
PagerDuty provider option. Returned: if type is PagerDuty |
|
PagerDuty provider option. Returned: if type is PagerDuty |
|
PagerDuty provider option. Returned: if type is PagerDuty |
|
PagerTree provider option. Returned: if type is PagerTree |
|
PagerTree provider option. Returned: if type is PagerTree |
|
PagerTree provider option. Returned: if type is PagerTree |
|
AliyunSMS provider option. Returned: if type is AliyunSMS |
|
promosms provider option. Returned: if type is promosms |
|
promosms provider option. Returned: if type is promosms |
|
promosms provider option. Returned: if type is promosms |
|
promosms provider option. Returned: if type is promosms |
|
promosms provider option. Returned: if type is promosms |
|
promosms provider option. Returned: if type is promosms |
|
PushByTechulus provider option. Returned: if type is PushByTechulus |
|
pushbullet provider option. Returned: if type is pushbullet |
|
PushDeer provider option. Returned: if type is PushDeer |
|
pushover provider option. Returned: if type is pushover |
|
pushover provider option. Returned: if type is pushover |
|
pushover provider option. Returned: if type is pushover |
|
pushover provider option. Returned: if type is pushover |
|
pushover provider option. Returned: if type is pushover |
|
pushover provider option. Returned: if type is pushover |
|
pushover provider option. Returned: if type is pushover |
|
pushy provider option. Returned: if type is pushy |
|
pushy provider option. Returned: if type is pushy |
|
OneBot provider option. Returned: if type is OneBot |
|
rocket.chat provider option. Returned: if type is rocket.chat |
|
rocket.chat provider option. Returned: if type is rocket.chat |
|
rocket.chat provider option. Returned: if type is rocket.chat |
|
rocket.chat provider option. Returned: if type is rocket.chat |
|
AliyunSMS provider option. Returned: if type is AliyunSMS |
|
DingDing provider option. Returned: if type is DingDing |
|
ServerChan provider option. Returned: if type is ServerChan |
|
serwersms provider option. Returned: if type is serwersms |
|
serwersms provider option. Returned: if type is serwersms |
|
serwersms provider option. Returned: if type is serwersms |
|
serwersms provider option. Returned: if type is serwersms |
|
signal provider option. Returned: if type is signal |
|
signal provider option. Returned: if type is signal |
|
signal provider option. Returned: if type is signal |
|
AliyunSMS provider option. Returned: if type is AliyunSMS |
|
slack provider option. Returned: if type is slack |
|
slack provider option. Returned: if type is slack |
|
slack provider option. Returned: if type is slack |
|
slack provider option. Returned: if type is slack |
|
SMSEagle provider option. Returned: if type is SMSEagle |
|
SMSEagle provider option. Returned: if type is SMSEagle |
|
SMSEagle provider option. Returned: if type is SMSEagle |
|
SMSEagle provider option. Returned: if type is SMSEagle |
|
SMSEagle provider option. Returned: if type is SMSEagle |
|
SMSEagle provider option. Returned: if type is SMSEagle |
|
SMSManager provider option. Returned: if type is SMSManager |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
smtp provider option. Returned: if type is smtp |
|
Splunk provider option. Returned: if type is Splunk |
|
Splunk provider option. Returned: if type is Splunk |
|
Splunk provider option. Returned: if type is Splunk |
|
squadcast provider option. Returned: if type is squadcast |
|
stackfield provider option. Returned: if type is stackfield |
|
telegram provider option. Returned: if type is telegram |
|
telegram provider option. Returned: if type is telegram |
|
telegram provider option. Returned: if type is telegram |
|
telegram provider option. Returned: if type is telegram |
|
telegram provider option. Returned: if type is telegram |
|
AliyunSMS provider option. Returned: if type is AliyunSMS |
|
apprise provider option. Returned: if type is apprise |
|
twilio provider option. Returned: if type is twilio |
|
twilio provider option. Returned: if type is twilio |
|
twilio provider option. Returned: if type is twilio |
|
twilio provider option. Returned: if type is twilio |
|
Returned: always Sample: "telegram" |
|
Returned: always Sample: 1 |
|
webhook provider option. Returned: if type is webhook |
|
webhook provider option. Returned: if type is webhook |
|
DingDing provider option. Returned: if type is DingDing |
|
webhook provider option. Returned: if type is webhook |
|
ZohoCliq provider option. Returned: if type is ZohoCliq |
|
WeCom provider option. Returned: if type is WeCom |
- Lucas Held (@lucasheld)