diff --git a/play.yml b/play.yml index 4093b28..cc1de31 100644 --- a/play.yml +++ b/play.yml @@ -61,4 +61,3 @@ become: true roles: - caddy - - ff_website diff --git a/roles/ff_website/tasks/main.yml b/roles/ff_website/tasks/main.yml deleted file mode 100644 index e2e7ce5..0000000 --- a/roles/ff_website/tasks/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- - -- name: Create directories - ansible.builtin.file: - state: directory - path: "{{ item }}" - owner: www-data - group: www-data - mode: "0770" - with_items: - - /srv/www/berlin.freifunk.net - - /srv/www/dev.berlin.freifunk.net diff --git a/templates/Caddyfile_website.j2 b/templates/Caddyfile_website.j2 index fb40c13..c3dd599 100644 --- a/templates/Caddyfile_website.j2 +++ b/templates/Caddyfile_website.j2 @@ -5,7 +5,7 @@ www.berlin.freifunk.net { # production berlin.freifunk.net { - root * /srv/www/berlin.freifunk.net + root * /home/github/www/berlin.freifunk.net encode gzip @de_before_en { @@ -45,7 +45,7 @@ berlin.freifunk.net { # development dev.berlin.freifunk.net { - root * /srv/www/dev.berlin.freifunk.net + root * /home/github/www/berlin.freifunk.net encode gzip @de_before_en {