From 0487aae7f479ce2251fc5c4ecda8696e85b3c8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 30 Jul 2015 23:14:15 +0000 Subject: [PATCH] Mailman: don't convert from file to symlink --- roles/mailman/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 2cca36589c..75ad5862e8 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -328,14 +328,14 @@ notify: - restart mailman3 -- name: symlink the hyperkitty conffile in mailman directory - file: src="{{ mailman_webui_confdir }}/mailman-hyperkitty.cfg" - dest=/etc/mailman3.d/hyperkitty.cfg state=link +# To avoid confusion with "{{ mailman_webui_confdir }}/mailman-hyperkitty.cfg" +# Don't create a symlink because ansible won't convert the regular file coming +# from the RPM to a symlink. +- name: remove the hyperkitty conffile in the mailman directory to avoid confusion + file: path=/etc/mailman3.d/hyperkitty.cfg state=absent tags: - config - mailman - notify: - - restart mailman3 #