diff --git a/roles/mediaserver/tasks/nginx.yml b/roles/mediaserver/tasks/nginx.yml index da37c40..0f9193a 100644 --- a/roles/mediaserver/tasks/nginx.yml +++ b/roles/mediaserver/tasks/nginx.yml @@ -17,7 +17,6 @@ - /var/www/html - /var/www/html/datadog - /var/www/html/homer - - /var/www/html/theme.park - name: Install homer assets become: true @@ -41,7 +40,9 @@ become: true ansible.builtin.unarchive: src: https://github.com/themepark-dev/theme.park/archive/refs/tags/{{ themepark.version }}.zip - dest: /var/www/html/theme.park + dest: /var/www/html + include: + - "*.css" remote_src: "yes" owner: www-data group: www-data diff --git a/roles/mediaserver/templates/mediaserver.conf.j2 b/roles/mediaserver/templates/mediaserver.conf.j2 index 43f75d2..2deb069 100644 --- a/roles/mediaserver/templates/mediaserver.conf.j2 +++ b/roles/mediaserver/templates/mediaserver.conf.j2 @@ -43,7 +43,7 @@ server { } location /css { - alias /var/www/html/theme.park/theme.park-{{ themepark.version }}; + alias /var/www/html/theme.park-{{ themepark.version }}/css; } location /datadog {