Ansible, Automate, WordPress, Lamp Stack, Ansible Playbook.
host file (/etc/apache2/sites-available/{{ httpd_domain }}.conf) from a Jinja2 template file (virtualhost.conf.j2). The httpd_domain, httpd_owner, and httpd_group variables are defined elsewhere in the playbook. name: "Ubuntu - enabling wp site" This task uses the shell module to enable the virtual