-
Hello. NetBox versionv2.11.2 Python version3.8 Steps to ReproduceCreate webhook Content types: IPAM>IP Address On 192.168.1.100: when I change any IP in Netbox I see:
Expected BehaviorExpected json
Observed BehaviorIt is not valid json and AWX failed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
A quick websearch shows that jinja2 has a tojson filter.
That is: try |
Beta Was this translation helpful? Give feedback.
{{data}}
interpolates the object as a python string.A quick websearch shows that jinja2 has a tojson filter.
That is: try
{"extra_vars":{{data | tojson}}}
as your body template.