summaryrefslogtreecommitdiffstats
path: root/roles/lists/tasks/sympa.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2022-10-11 16:05:48 +0200
committerGuilhem Moulin <guilhem@fripost.org>2022-10-11 20:03:03 +0200
commiteeadb037937ee1b5da6e084b98acb8f9c3242e2f (patch)
tree2bbf6687122d8cc0938bec1a4570c362047bdc80 /roles/lists/tasks/sympa.yml
parent9c67e4f8e539638a6621803c3c18ce5723fbdcc6 (diff)
Remove module ‘mysql_user2’.
These days upstream's ‘mysql_user’ is good enough.
Diffstat (limited to 'roles/lists/tasks/sympa.yml')
-rw-r--r--roles/lists/tasks/sympa.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/lists/tasks/sympa.yml b/roles/lists/tasks/sympa.yml
index 0d5eac1..27a5823 100644
--- a/roles/lists/tasks/sympa.yml
+++ b/roles/lists/tasks/sympa.yml
@@ -1,34 +1,34 @@
- apt: pkg={{ packages }} install_recommends=no
vars:
packages:
- mariadb-server
- sympa
- libnet-dns-perl
- libnet-dns-sec-perl
- libmail-dkim-perl
- libcrypt-smime-perl
- libcrypt-openssl-x509-perl
- name: Make the 'sympa' MySQL user use unix_socket
- mysql_user2: name=sympa password= auth_plugin=unix_socket
- state=present
+ mysql_user: name=sympa password= plugin=unix_socket
+ state=present
- name: Configure Sympa
copy: src=etc/sympa/{{ item }}
dest=/etc/sympa/{{ item }}
owner=root group=sympa
mode=0644
with_items:
- sympa/sympa.conf
- topics.conf
register: r1
notify:
- Restart Sympa
- name: Create Virtual hosts for Sympa (1)
file: path=/etc/sympa/{{ item }}
state=directory
owner=sympa group=sympa
mode=0755
with_items:
- lists.fripost.org