diff --git a/roles/setup-http-site-proxy/tasks/main.yml b/roles/setup-http-site-proxy/tasks/main.yml index 70f5f5c..6aeff36 100644 --- a/roles/setup-http-site-proxy/tasks/main.yml +++ b/roles/setup-http-site-proxy/tasks/main.yml @@ -2,11 +2,11 @@ - name: Add or update Apache2 site template: src: templates/apache-docker-proxy-site.j2 - dest: /etc/apache2/sites-available/{{site_name}}.conf + dest: /etc/apache2/sites-available/{{ site_name }}.conf notify: restart apache2 - name: Activate Apache2 site - command: a2ensite {{ site_name}} + command: a2ensite {{ site_name }} args: creates: /etc/apache2/sites-enabled/{{ site_name }}.conf notify: restart apache2