Hi !
In the Inventory file, are tou trying to install both automation controller and automation hub?
Because [database] section should also be empty, when installing db on same node (one of controller or hub, or both) it's not possible to install them at the same time.
So in such case, you should use 2 inventory files. One for the hub and one for the controller. And I think it's better to install first the hub.
Let me know if it helps
@Basavan -
Since you haven't shared all the error and I don't know everything in the inventory file, I think that @OlivierB is somewhat on the correct track on how the database is specified. I would like to clarify one thing though ... it is possible to use a single inventory file and install all the components on different servers and VMs.
https://github.com/tmichett/DO274_Demo/blob/master/Demos/Installation/inventory.txt
I've provided a link with an AAP 2.4 inventory file which also includes the EDA controller pieces too. What is important here is that while each entity is separately installed hub, controller, eda-controller, the database is installed a single-time and it is co-located on the automation controller system.
You need to specify where the database is being installed so that the Ansible playbooks know what systems to contact when they are running the playbooks. Furthermore, @OlivierB is correct in that you can have multiple inventory files and install things separately that way, but then you end up with multiple PostGres servers and databases (each installed with its corresponding components). The other thing you lose by installing things separately is the "magic" that happens with the single inventory file when it comes to automatic configuration of components (execution environments, credentials, etc.) that get setup between Controller/Hub, etc. as well as the ability to easily manage backups/restores and other administrative tasks since you need to use the setup script and inventory files to perform those operations.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.