]> freie-schul-it.de Git - fsit_smgt.git/commitdiff
Vorbereitung von Sympa Mailinglisten Management
authorUllli <ullli@freie-schul-it.de>
Tue, 2 Jun 2026 06:40:04 +0000 (08:40 +0200)
committerUllli <ullli@freie-schul-it.de>
Tue, 2 Jun 2026 06:40:04 +0000 (08:40 +0200)
tasks/sympa.yml [new file with mode: 0644]

diff --git a/tasks/sympa.yml b/tasks/sympa.yml
new file mode 100644 (file)
index 0000000..135647e
--- /dev/null
@@ -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