From 7f73386ff3f7d475ce1d36f7d08d841a1f54a613 Mon Sep 17 00:00:00 2001 From: Ullli Date: Tue, 2 Jun 2026 08:40:04 +0200 Subject: [PATCH 1/1] Vorbereitung von Sympa Mailinglisten Management --- tasks/sympa.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tasks/sympa.yml diff --git a/tasks/sympa.yml b/tasks/sympa.yml new file mode 100644 index 0000000..135647e --- /dev/null +++ b/tasks/sympa.yml @@ -0,0 +1,30 @@ +--- +- name: install server specific packages + ansible.builtin.apt: + update_cache: yes + pkg: + - sympa +- name: edit config file + ansible.builtin.lineinfile: + path: /etc/sympa/sympa/sympa.conf + regexp: '^lang*' + line: 'lang {{ sympa_lang }}' + backup: true +- name: edit config file + ansible.builtin.lineinfile: + path: /etc/sympa/sympa/sympa.conf + regexp: '^domain*' + line: 'domain {{ sympa_domain }}' + backup: true +- name: edit config file + ansible.builtin.lineinfile: + path: /etc/sympa/sympa/sympa.conf + regexp: '^listmaster*' + line: 'listmaster {{ sympa_listmaster }}' + backup: true +- name: edit config file + ansible.builtin.lineinfile: + path: /etc/sympa/sympa/sympa.conf + regexp: '^wwsympa_url*' + line: 'wwsympa_url {{ sympa_wwsympa_url }}' + backup: true -- 2.39.5