lucasheld / ansible-uptime-kuma

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

ignore id on monitor creation #24

Closed afrimberger closed 10 months ago

afrimberger commented 1 year ago

if the id on a monitor is set, the creation fails. This PR ignores the id on monitor creation, but respects it on update.

lucasheld commented 12 months ago

Hmm, in which cases would that help? When I specify an id, I also expect the monitor to have that id and not to create a new one with a different id. Not only monitors are created this way, many other modules work this way too.