Closed yurinek closed 1 year ago
This error means that the tag with the name "tag1" does not exist. The error handling can definitely be improved.
This works for me:
- name: Add monitor
lucasheld.uptime_kuma.monitor:
api_url: http://127.0.0.1:3001
api_username: admin
api_password: secret123
name: "api Service"
type: http
url: http://127.0.0.1
- name: Add tag
lucasheld.uptime_kuma.tag:
api_url: http://127.0.0.1:3001
api_username: admin
api_password: secret123
name: tag1
color: "#ffffff"
- name: Add monitor tag
lucasheld.uptime_kuma.monitor_tag:
api_url: http://127.0.0.1:3001
api_username: admin
api_password: secret123
monitor_name: "api Service"
tag_name: "tag1"
value: "namespace: foo"
state: present
the difference between tag and monitor_tag was not clear to me. maybe worth to mention it in the docu. thanks for clarification
Hi,
we try to create a monitor tag
however it outputs
cheers