lucasheld / ansible-uptime-kuma

Ansible collection of modules to configure Uptime Kuma
GNU General Public License v3.0
135 stars 19 forks source link

support sendUrl in status_page monitorList #31

Closed obfusk closed 10 months ago

obfusk commented 10 months ago

Untested as of yet, but hopefully fixes #30.

lucasheld commented 10 months ago

Thank you! That should work but there is a bug in the uptime-kuma-api module. The sendUrl value needs to be a boolean instead of an integer: https://github.com/lucasheld/uptime-kuma-api/blob/06f1173569461867982c62332be7a83d38fcf091/uptime_kuma_api/api.py#L1820. Otherwise Uptime Kuma cannot handle the value. I will make the changes immediately.

lucasheld commented 10 months ago

I just tested it, it works :)

obfusk commented 10 months ago

The sendUrl value needs to be a boolean instead of an integer

I was wondering about that.