Hi team,
There are two issues in the of lab Get started with Event-Driven Ansible and Ansible Rulebooks (https://catalog.demo.redhat.com/catalog/babylon-catalog-prod?item=babylon-catalog-prod/zt-ansiblebu.zt-ans-bu-eda-ansible-rulebook.prod&utm_source=webapp&utm_medium=share-link),
In showroom
ansible-rulebook --rulebook webhook-example.yml -i inventory.yml --print-events
is supposed to be
ansible-rulebook --rulebook webhook-example.yml -i inventory --print-events
and in ansible playbook say-what.yml
msg: "Thank you, {{ ansible_eda.event.sender | default('my friend') }}!"
is supposed to be
msg: "Thank you, {{ ansible_eda.event.body.sender | default('my friend') }}!"
Hi team,
There are two issues in the of lab Get started with Event-Driven Ansible and Ansible Rulebooks (https://catalog.demo.redhat.com/catalog/babylon-catalog-prod?item=babylon-catalog-prod/zt-ansiblebu.zt-ans-bu-eda-ansible-rulebook.prod&utm_source=webapp&utm_medium=share-link),
In showroom
ansible-rulebook --rulebook webhook-example.yml -i inventory.yml --print-eventsis supposed to be
ansible-rulebook --rulebook webhook-example.yml -i inventory --print-eventsand in ansible playbook say-what.yml
msg: "Thank you, {{ ansible_eda.event.sender | default('my friend') }}!"is supposed to be
msg: "Thank you, {{ ansible_eda.event.body.sender | default('my friend') }}!"