From 80b2bbf44e97a84f9cea1dad89f24d820ae287c0 Mon Sep 17 00:00:00 2001 From: nd Date: Mon, 8 Mar 2021 14:23:15 +0100 Subject: [PATCH] fix hyperkitty config path --- tasks/main.yml | 4 ++-- templates/mailman-hyperkitty.py.j2 | 20 -------------------- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 templates/mailman-hyperkitty.py.j2 diff --git a/tasks/main.yml b/tasks/main.yml index c8fcd2a..eb30bfd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -44,8 +44,8 @@ - name: copy mailman-hyperkitty config notify: restart mailman template: - src: mailman-hyperkitty.py.j2 - dest: /etc/mailman3/mailman-hyperkitty.py + src: mailman-hyperkitty.cfg.j2 + dest: /etc/mailman3/mailman-hyperkitty.cfg mode: 0640 owner: root group: list diff --git a/templates/mailman-hyperkitty.py.j2 b/templates/mailman-hyperkitty.py.j2 deleted file mode 100644 index 2286d3f..0000000 --- a/templates/mailman-hyperkitty.py.j2 +++ /dev/null @@ -1,20 +0,0 @@ -# This is the mailman extension configuration file to enable HyperKitty as an -# archiver. Remember to add the following lines in the mailman.cfg file: -# -# [archiver.hyperkitty] -# class: mailman_hyperkitty.Archiver -# enable: yes -# configuration: /etc/mailman3/mailman-hyperkitty.cfg -# - -[general] - -# This is your HyperKitty installation, preferably on the localhost. This -# address will be used by Mailman to forward incoming emails to HyperKitty -# for archiving. It does not need to be publicly available, in fact it's -# better if it is not. -base_url: http://localhost:15427/hyperkitty/ - -# Shared API key, must be the identical to the value in HyperKitty's -# settings. -api_key: {{ mailman.archiver.key }}