fixed rulebook

This commit is contained in:
Sean Anderson 2026-02-09 22:00:15 -06:00
parent 7c5dd64039
commit 5ebe7a00bc

View File

@ -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