From d78cabffb6a8d4e229971824e3c401e065a82594 Mon Sep 17 00:00:00 2001 From: Thomas Misilo Date: Mon, 26 Jun 2023 08:36:43 -0500 Subject: [PATCH] Do not flush handlers, ubuntu 22 at least appears to play nice --- tasks/main.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index d9165079..ef531228 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,11 +15,6 @@ - include_tasks: initialize.yml - include_tasks: configure.yml -# Otherwise users and db are created in default data dir location (Ubunut: /var/lib/postgresql/...) -# instead of the custom `postgresql_data_dir` -- name: Reset Ansible handlers to ensure users and db are created in data dir {{ postgresql_data_dir }} - meta: flush_handlers - - name: Ensure PostgreSQL is started and enabled on boot. service: name: "{{ postgresql_daemon }}"