Skip to content

Commit

Permalink
Do not flush handlers, ubuntu 22 at least appears to play nice
Browse files Browse the repository at this point in the history
  • Loading branch information
misilot committed Jun 26, 2023
1 parent 92e7895 commit a13293f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit a13293f

Please sign in to comment.