Project

General

Custom queries

Profile

Actions

Feature #38219

closed

AAP 2.5 support in Ansible Callback

Added by Nofar Alfassi about 2 months ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
Fixed in Releases:
Found in Releases:

Description

Our kickstart template calls the ansible_provisioning_callback snippet

That ansible_provisioning_callback snippet further calls ansible_tower_callback_service and ansible_tower_callback_script snippets to setup the ansible callback on the deployed systems and perform the callback.

In both of those snippets, we have the `/api/v2/job_templates/` endpoint hardcoded for all satellite\foreman versions.

This used to work fine till AAP 2.4. With AAP 2.5, a gateway was introduced and hence the `/api/v2` endpoints are now `/api/controller/v2` and this will result in failures to complete the ansible callback when end-user uses AAP 2.5.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #38319: Fix Ansible Tower FQDN migrationClosedNofar AlfassiActions

Added by Nofar Alfassi 29 days ago

Revision 2a81d51f (diff)

Fixes #38219 - Update Ansible Tower API URL for AAP 2.5+ compatibility

AAP 2.5+ uses `/api/controller/v2` instead of `/api/v2`.
This updates provisioning templates to use `ansible_tower_api_url`
and includes a migration renaming `ansible_tower_fqdn`, appending the new API path.

Actions

Also available in: Atom PDF