Create webroot so Apache stops complaining

This commit is contained in:
Salt 2020-04-30 07:20:04 -05:00
parent a7f2afd43a
commit 04cc076d5c

View File

@ -32,6 +32,10 @@
template: template:
src: "apache2-vhost-ssl.conf" src: "apache2-vhost-ssl.conf"
dest: "/etc/apache2/sites-available/{{ gitea_url }}.conf" dest: "/etc/apache2/sites-available/{{ gitea_url }}.conf"
- name: Create webroot
file:
state: directory
path: "{{ gitea_webroot }}"
- name: Enable site - name: Enable site
command: command:
cmd: "a2ensite {{ gitea_url }}.conf" cmd: "a2ensite {{ gitea_url }}.conf"