From bc07010aa6d4972db6e7e3d35acf17ad9b731093 Mon Sep 17 00:00:00 2001 From: William Hirigoyen Date: Thu, 1 Feb 2024 16:49:24 +0100 Subject: [PATCH] webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice) --- CHANGELOG.md | 1 + webapps/evoadmin-mail/tasks/apache.yml | 1 + webapps/roundcube/tasks/main.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2d5fb3f..d1eed7a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,6 +96,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * minifirewall: ports 25, 53, 443, 993, 995 not opened publicly by default anymore, ports 20, 21, 110, 143 not opened semi-publicly by default anymore. * dovecot: add missing LDAP conf iterate_filter to exclude disabled accounts in users list (caused « User no longer exists » errors in commands listing users like « doveadm user -u '*' » or « doveadm expunge -u "*" mailbox INBOX savedbefore 7d »). * dovecot: fix missing default mails +* webapps/roundcube & evoadminmail: make roles more idempotent (were failing when played twice) ### Removed diff --git a/webapps/evoadmin-mail/tasks/apache.yml b/webapps/evoadmin-mail/tasks/apache.yml index 26c2b53b..87eb3d2a 100644 --- a/webapps/evoadmin-mail/tasks/apache.yml +++ b/webapps/evoadmin-mail/tasks/apache.yml @@ -12,6 +12,7 @@ src: "/etc/apache2/sites-available/evoadminmail.conf" dest: "/etc/apache2/sites-enabled/evoadminmail.conf" state: link + force: true notify: reload apache2 when: evoadminmail_enable_vhost | bool tags: diff --git a/webapps/roundcube/tasks/main.yml b/webapps/roundcube/tasks/main.yml index 17422246..b25adedf 100644 --- a/webapps/roundcube/tasks/main.yml +++ b/webapps/roundcube/tasks/main.yml @@ -99,6 +99,7 @@ src: /etc/apache2/sites-available/roundcube.conf dest: /etc/apache2/sites-enabled/roundcube.conf state: link + force: true notify: reload apache2 when: roundcube_webserver == "apache" tags: