From b090fbe61cd8449595ccd0822ca87e33d666426d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 29 Oct 2024 03:38:05 +0100 Subject: Tune PostgreSQL. Cf. https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server --- tasks/webmap.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tasks/webmap.yml') diff --git a/tasks/webmap.yml b/tasks/webmap.yml index 5f82d7f..a417dbd 100644 --- a/tasks/webmap.yml +++ b/tasks/webmap.yml @@ -165,6 +165,13 @@ # PostgreSQL needs to be restarted to see the new locale notify: Restart PostgreSQL +- name: Configure PostgreSQL + copy: src=etc/postgresql/postgresql.conf + dest=/etc/postgresql/{{ postgresql.version }}/{{ postgresql.cluster }}/conf.d/local.conf + owner=postgres group=postgres + mode=0644 + notify: Restart PostgreSQL + - name: Start PostgreSQL service: name=postgresql@{{ postgresql.version }}-{{ postgresql.cluster }}.service state=started -- cgit v1.2.3