+---
+- 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