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.

  1. Ensure that firewalld is running.

    $ sudo systemctl status firewalld
  2. Add the firewalld port on your controller database node (e.g. port 5432)

    $ sudo firewall-cmd --permanent --zone=public --add-port=5432/tcp
  3. Reload firewalld

    $ sudo firewall-cmd --reload
  4. Confirm that the port is open

    $ sudo firewall-cmd --list-ports