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