fixed rulebook
This commit is contained in:
parent
7c5dd64039
commit
5ebe7a00bc
@ -1,15 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: Listen for events on a webhook
|
- name: Listen for events on a webhook
|
||||||
hosts: localhost
|
hosts: shadowdark
|
||||||
sources:
|
sources:
|
||||||
- ansible.eda.url_check:
|
- ansible.eda.url_check:
|
||||||
urls:
|
urls:
|
||||||
- https://shadowdark.seandersontech.com
|
- http://localhost
|
||||||
delay: 60
|
delay: 60
|
||||||
rules:
|
rules:
|
||||||
- name: Web site is up
|
- name: Web site is up
|
||||||
condition: event.url_check.status == "up"
|
condition: event.url_check.status == "up"
|
||||||
action:
|
action:
|
||||||
- run_job_template:
|
run_job_template:
|
||||||
name: "Shadowdark Up"
|
name: "Shadowdark Up"
|
||||||
organization: Default
|
organization: Default
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user