Chapter 5. Ansible Automation Platform Execution and Hop Node Configuration Details
5.1. Configuring firewall settings for execution and hop nodes
For a successful Ansible Automation Platform installation, one of the prerequisites is to enable the automation mesh port on the mesh nodes (execution and hop nodes). The default port used for the mesh networks on all the nodes is set to 27199/tcp, however, it can be configured to use a different port by specifying receptor_listener_port as each node’s variable within your inventory file.
Snippet of inventory file
receptor_listener_port=27199
For this reference environment all the Ansible Automation Platform 2 controller nodes are designated as node type control. If control nodes are designated as hybrid nodes (default node type), they require mesh port (default: 27199/tcp) to be enabled.
Within your hop and execution node(s), as the ansible user:
Ensure that
firewalldis running.$ sudo systemctl status firewalld
Add the
firewalldport on your hop and execution nodes (e.g. port 27199)$ sudo firewall-cmd --permanent --zone=public --add-port=27199/tcp
Reload
firewalld$ sudo firewall-cmd --reload
Confirm that the port is open
$ sudo firewall-cmd --list-ports