Event-Driven Ansible Command Line Testing

Опубликовано: 21 Март 2026
на канале: Alex Dworjan
425
3

This video will cover testing of Event-Driven Ansible and Ansible-Rulebook via local command-line testing

The presenter is Alex Dworjan
Github: https://github.com/shadowman-lab

Ansible Rulebook Documentation: https://ansible.readthedocs.io/projec...

Ansible Rulebook Blog: https://www.redhat.com/en/topics/auto...

Podman command Example: podman run -it --rm -v ./local/eda/:/tmp/rulebook:z -p 2000:2000 towerpah.shadowman.dev/shadowmande:20240611T100240 ansible-rulebook --rulebook /tmp/rulebook/webhook.yml -i /tmp/rulebook/inventory.yml -vv

NOTE: To exit the Decision Environment and stop the running container, press Control-C

Curl command Example: curl -H 'Content-Type: application/json' -d "{\"message\": \"EDA is running\"}" localhost:2000