From f48ba590c8878bab6b3ca9dbbff47c6e2a4d767e Mon Sep 17 00:00:00 2001 From: Geoffrey van Wyk Date: Wed, 10 Jan 2024 04:37:49 +0200 Subject: [PATCH] fix: database cannot be dropped Forcefully drop database in case there are still connections to it, because the drop can fail intermittently. --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index fb46a07..e7994d4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,6 +32,7 @@ community.postgresql.postgresql_db: name: "{{ moodle_cfg_dbname }}" state: absent + force: true - name: Remove enabled Apache configuration become: true