Ansible, Automate, WordPress, Lamp Stack, Ansible Playbook.
is created by Ansible has the correct Listen directive with the correct port number. For example, if the httpd_port variable is set to 80 in the group_vars file, then the line Listen {{ httpd_port }} in the httpd.conf.j2 file would be rendered as Listen 80 in the final httpd.conf file created by