From 700d89f7a848a3aeb6935d0ce4fed6446087cef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 15 Jul 2021 12:43:18 +0200 Subject: [PATCH] mailman: Add Nest banner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds top.html file which will replace empty template in hypperkitty. Signed-off-by: Michal Konečný --- roles/mailman/files/top.html | 8 ++++++++ roles/mailman/tasks/main.yml | 12 ++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 roles/mailman/files/top.html diff --git a/roles/mailman/files/top.html b/roles/mailman/files/top.html new file mode 100644 index 0000000000..042bed5256 --- /dev/null +++ b/roles/mailman/files/top.html @@ -0,0 +1,8 @@ + + + +
+ + + +
diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index efb9f2b654..9865a54700 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -161,6 +161,18 @@ - hotfix - patches +# Add the Nest banner +# See issue https://pagure.io/fedora-infrastructure/issue/10103 +- name: Replace the top.html template in hyperkitty to change banner + copy: src=top.html dest=/srv/webui/templates/hyperkitty/top.html + notify: + - restart mailman3 + - reload apache + tags: + - mailman + - banner + + # # Initialize mailman (must be done after settings up the DBs) #