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
name: Login with credentials once and register the result
lucasheld.uptime_kuma.login:
api_url: "{{ kuma_api_url }}"
api_username: "{{ kuma_api_username }}"
api_password: "{{ kuma_api_password }}"
register: result
name: Extract the token from the result and set it as fact
ansible.builtin.set_fact:
api_token: "{{ result.token }}"
name: Create a Parent Group
lucasheld.uptime_kuma.monitor:
api_url: "{{ kuma_api_url }}"
api_token: "{{ api_token }}"
name: "Google"
type: group
state: present
hello,
i am new to ansible and dont understand how to write the playbook for this module, can anybody provide me an example of an usable playbook?
thank you so much
The text was updated successfully, but these errors were encountered: