aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-12-09 12:50:02 +0100
committerbinary <me@rgoncalves.se>2020-12-09 12:50:02 +0100
commit2aed13d8483f412a6b7964e15f8e9defede8b027 (patch)
treec3540c6de9179817f3ecca7b72bd9d73fa56dd69 /roles
parentbbd9057d691554422a430b86561bb65dfc21f5cb (diff)
downloadinfrastructure-2aed13d8483f412a6b7964e15f8e9defede8b027.tar.gz
Move logo to new url
Diffstat (limited to 'roles')
-rw-r--r--roles/stagit/files/httpd.conf4
-rw-r--r--roles/stagit/tasks/main.yml5
2 files changed, 5 insertions, 4 deletions
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:
remember that computers suck.