Hi everybody,
I’m having a problem with the Ansible callback. It’s giving me a “403 Client Error: Forbidden for
url.”
[WARNING]: Sending data to Foreman at https://<server-fqdn> failed for <ansible-host-fqdn>: 403 Client Error: Forbidden for url:
https://<server-fqdn>/api/v2/hosts/facts
[WARNING]: Sending data to Foreman at https://<server-fqdn> failed for <ansible-host-fqdn>: 403 Client Error: Forbidden for url:
https://<server-fqdn>/api/v2/config_reports
The server running Ansible is listed under “trusted_hosts” with its FQDN and server name, not the Ansible hosts themselves, as your manual explain.
Unfortunately, the smart proxy isn’t running properly yet, so I have another post open here. It might be related to that. Or where can I look into this in more detail?
Some details
SLES15SP6
Foreman 3.13 from sources
Smart-Proxy 3.13 from sources