Ignore kuma in checkmode
This commit is contained in:
parent
9909e1beb2
commit
639f9185df
@ -86,6 +86,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Login to Kuma
|
- name: Login to Kuma
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
check_mode: false
|
||||||
lucasheld.uptime_kuma.login:
|
lucasheld.uptime_kuma.login:
|
||||||
api_url: "{{ kuma.api_url }}"
|
api_url: "{{ kuma.api_url }}"
|
||||||
api_username: "{{ kuma.api_username }}"
|
api_username: "{{ kuma.api_username }}"
|
||||||
@ -93,6 +94,7 @@
|
|||||||
register: kumalogin
|
register: kumalogin
|
||||||
- name: Create Kuma Monitor
|
- name: Create Kuma Monitor
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
check_mode: false
|
||||||
lucasheld.uptime_kuma.monitor:
|
lucasheld.uptime_kuma.monitor:
|
||||||
api_url: "{{ kuma.api_url }}"
|
api_url: "{{ kuma.api_url }}"
|
||||||
api_token: "{{ kumalogin.token }}"
|
api_token: "{{ kumalogin.token }}"
|
||||||
@ -106,6 +108,7 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: Obtain Kuma Push Token
|
- name: Obtain Kuma Push Token
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
check_mode: false
|
||||||
lucasheld.uptime_kuma.monitor_info:
|
lucasheld.uptime_kuma.monitor_info:
|
||||||
api_url: "{{ kuma.api_url }}"
|
api_url: "{{ kuma.api_url }}"
|
||||||
api_token: "{{ kumalogin.token }}"
|
api_token: "{{ kumalogin.token }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user