Skip to content

Commit

Permalink
fix: database cannot be dropped
Browse files Browse the repository at this point in the history
Forcefully drop database in case there are still connections to it, because the drop can fail intermittently.
  • Loading branch information
geoffreyvanwyk committed Jan 10, 2024
1 parent 91abb03 commit f48ba59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
community.postgresql.postgresql_db:
name: "{{ moodle_cfg_dbname }}"
state: absent
force: true

- name: Remove enabled Apache configuration
become: true
Expand Down

0 comments on commit f48ba59

Please sign in to comment.