Chapter 4. Ansible Automation Platform Controller Database Configuration Details
4.1. Configuring Controller Database Firewall Settings
For a successful Ansible Automation Platform installation, one of the prerequisites is to enable the database port on the database node. The port used is configured by the pg_port within your inventory file.
Snippet of inventory file
pg_port='5432'
Within your database node, as the ansible user, set the firewalld port to be used for installation.
Ensure that
firewalldis running.$ sudo systemctl status firewalld
Add the
firewalldport on your controller database node (e.g. port 5432)$ sudo firewall-cmd --permanent --zone=public --add-port=5432/tcp
Reload
firewalld$ sudo firewall-cmd --reload
Confirm that the port is open
$ sudo firewall-cmd --list-ports