Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agardnerit/uc15
https://github.com/agardnerit/uc15
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/agardnerit/uc15
- Owner: agardnerIT
- Created: 2024-07-29T03:31:48.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T08:56:18.000Z (6 months ago)
- Last Synced: 2024-07-30T06:27:51.147Z (5 months ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uc15
## Start OTEL Demo
```
docker compose up --force-recreate --remove-orphans --detach
```## Start Ansible
Start server and event listener:
```
ansible-rulebook --rulebook webhook-example.yml -i inventory.yml --verbose
```### Send Test events
### Send a non-triggering Event
Open a new terminal:
```
curl -X POST http://localhost:5000 -d '{"message": "Ansible is good"}' # Will do nothing
```### Send a Triggering Event
```
curl -X POST http://localhost:5000 -d '{"message": "Ansible is super cool"}' # Will trigger the rule definition in webhook-example.yml
```