Ansible, Automate, WordPress, Lamp Stack, Ansible Playbook.
from template" template: src: "./templates/virtualhost.conf.j2" dest: "/etc/apache2/sites-available/{{ httpd_domain }}.conf" owner: "{{ httpd_owner }}" group: "{{ httpd_group }}" - name: "Ubuntu - enabling wp site" shell: a2ensite {{ httpd_domain }}.conf - name: "Ubuntu - disabling default site"