Ansible, Automate, WordPress, Lamp Stack, Ansible Playbook.
Ansible. Remember: This is the only change you have to make in the “httpd.conf.j2” file. The remaining contents should be kept as it is. $ cat templates/virtualhost.conf.j2 <VirtualHost *:{{ httpd_port }}> ServerName {{ httpd_domain }} DocumentRoot /var/www/html/{{ httpd_domain }} DirectoryIndex