Fix linter warningsin setup-http-site-forward role

This commit is contained in:
Stefan Haun 2020-12-12 23:10:29 +01:00
parent bebe3c2e84
commit 2e64723ad5

View file

@ -2,11 +2,11 @@
- name: Add or update Apache2 site
template:
src: templates/apache-docker-forward-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