You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be misunderstanding something with ansible. But I would like to have my status page made a little simpler than manually adding a block for every service that I have added.
- name: Login by token and create a monitorlucasheld.uptime_kuma.monitor:
api_url: "{{ kuma_api }}"api_token: "{{ api_token }}"name: "{{ item.name}}"type: httpignoreTls: "{{ item.ignoreTLS }}"url: "{{ item.url }}"state: presentwith_items: "{{ monitor_http }}"
Which correctly creates a monitoring per entry in vars.yml.
But when I try to do the same for my status page, it doesn't work, it adds the last entry on the vars.yml
Hi,
I might be misunderstanding something with ansible. But I would like to have my status page made a little simpler than manually adding a block for every service that I have added.
Current I have a vars.yml
in my
tasks/main.yml
i haveWhich correctly creates a monitoring per entry in
vars.yml
.But when I try to do the same for my status page, it doesn't work, it adds the last entry on the
vars.yml
I have tried to move the
with_items
to have it inPublicGroupList
andMonitorList
, neither worked. Any input here on how to solve this?The text was updated successfully, but these errors were encountered: