2 command: "test -L /etc/apache2/sites-enabled/{{ virtual_host }}.conf"
5 changed_when: vhost.rc != 0
11 dest: "/etc/apache2/sites-available/{{ virtual_host }}.conf"
21 command: "a2ensite {{ virtual_host }}"
25 - name: Create log directory
28 path: /var/log/apache2/{{ virtual_host }}