DEV Community

jurgen-ponds
jurgen-ponds

Posted on

AWX, ansbile-callback not working

Hello,

I'am using AWX 22.7.0 on a kubernetes environment. Kubernetes is using MetalLB and Ingress. AWX is configured to use ingress in with type loadbalancer.

Everything is working fine, expect the ansible-callback. As seen many time:
/usr/bin/curl -k -s -H 'Content-Type: application/json' --data '{"host_config_key":"#######"}' https://awx.example.com/api/v2/job_templates/11/callback/
{"msg":"No matching host could be found!"}

Solutions provided are the setting of: HTTP_X_FORWARDED_FOR, but this does not work for me.

Can anybody help me out?

Kind regards
Jurgen Ponds

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay