From 2aed13d8483f412a6b7964e15f8e9defede8b027 Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 9 Dec 2020 12:50:02 +0100 Subject: Move logo to new url --- roles/stagit/files/httpd.conf | 4 ++-- roles/stagit/tasks/main.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'roles/stagit') diff --git a/roles/stagit/files/httpd.conf b/roles/stagit/files/httpd.conf index c91795e..238acf0 100644 --- a/roles/stagit/files/httpd.conf +++ b/roles/stagit/files/httpd.conf @@ -11,10 +11,10 @@ server "default" { } location match "logo.png" { - request rewrite "/logo.gif" + request rewrite "/logo.png" } location match "favicon.png" { - request rewrite "/logo.gif" + request rewrite "/logo.png" } } diff --git a/roles/stagit/tasks/main.yml b/roles/stagit/tasks/main.yml index 37b92e5..e0c513d 100644 --- a/roles/stagit/tasks/main.yml +++ b/roles/stagit/tasks/main.yml @@ -46,11 +46,12 @@ - name: download default website logo get_url: - url: https://www.openbsd.org/art/puffy/puf100X86.gif - dest: /var/www/htdocs/stagit/logo.gif + url: http://rgoncalves.se/logo.png + dest: /var/www/htdocs/stagit/logo.png owner: www group: "{{ group_root }}" mode: 0644 + ignore_errors: true - name: enable cron job for static-page generation cron: -- cgit v1.2.3