You attempt to deploy a system using Ansible, but in Aria Automation 8.x with Ansible Automation Platform (AAP) integration, it can be observed that the virtual machines provision to the wrong inventory instead of the intended one.
Aria Automation 8.x
To resolve the issue, Modify the Ansible workflow to reference the correct inventory. Since Aria Automation templates don’t allow direct updates to inventory assignments, adjusting the workflow is necessary.
Cloud_Ansible_Tower_1:
type: Cloud.Ansible.Tower
properties:
host: <HOST>
account: <ACCOUNT>
templates:
provision:
- name: <NAME>
type: <JOB or WORKFLOW>
hostName: <HOSTNAME>
maxJobRetries: <MAX-JOB-RETRIES>
hostVariables:
ansible_host: <ANSIBLE-HOSTNAME>
Note: Aria Automation templates support only two provisioning types: Job and Workflow.