Create webroot so Apache stops complaining
This commit is contained in:
parent
a7f2afd43a
commit
04cc076d5c
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user