feat(server): initial rulebook to receive inbound data from client

!1
This commit is contained in:
2024-02-19 20:18:52 +09:30
parent d57ba15905
commit a59b279c1c

View File

@ -0,0 +1,25 @@
- name: Agent Webhook
hosts: all
execution_strategy: parallel
sources:
- name: Webhook
ansible.eda.webhook:
host: 0.0.0.0
port: "{{ HTTP_PORT }}"
rules:
- name: Process inbound Subnet Scans
condition: true # Always run action
actions:
- print_event:
pretty: true
- run_playbook:
name: nofusscomputing.phpipam_scan_agent.server
extra_vars:
inbound_data: "{{ event.payload }}"