Skip to content

Commit 83fd3ed

Browse files
committed
Revert "chore: merge conflict"
This reverts commit ddc6b1d.
1 parent ddc6b1d commit 83fd3ed

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

ansible/tasks/setup-docker.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
apt-get install -y --no-install-recommends /tmp/extensions/*.deb
1313
when: debpkg_mode
1414

15+
- name: pg_cron - set cron.database_name
16+
become: yes
17+
lineinfile:
18+
path: /etc/postgresql/postgresql.conf
19+
state: present
20+
line: cron.database_name = 'postgres'
21+
when: debpkg_mode or nixpkg_mode and stage2_nix
22+
1523
- name: pgsodium - determine postgres bin directory
1624
shell: pg_config --bindir
1725
register: pg_bindir_output
@@ -28,6 +36,14 @@
2836
line: pgsodium.getkey_script= '{{ pg_bindir }}/pgsodium_getkey.sh'
2937
when: debpkg_mode or nixpkg_mode and stage2_nix
3038

39+
- name: auto_explain - set auto_explain.log_min_duration
40+
become: yes
41+
lineinfile:
42+
path: /etc/postgresql/postgresql.conf
43+
state: present
44+
line: auto_explain.log_min_duration = 10s
45+
when: debpkg_mode or nixpkg_mode and stage2_nix
46+
3147
# supautils
3248
- name: supautils - add supautils to session_preload_libraries
3349
become: yes
@@ -71,22 +87,6 @@
7187
replace: "include = '/etc/postgresql-custom/supautils.conf'"
7288
when: debpkg_mode or nixpkg_mode and stage2_nix
7389

74-
- name: pg_cron - set cron.database_name
75-
become: yes
76-
lineinfile:
77-
path: /etc/postgresql/postgresql.conf
78-
state: present
79-
line: cron.database_name = 'postgres'
80-
when: debpkg_mode or nixpkg_mode and stage2_nix
81-
82-
- name: auto_explain - set auto_explain.log_min_duration
83-
become: yes
84-
lineinfile:
85-
path: /etc/postgresql/postgresql.conf
86-
state: present
87-
line: auto_explain.log_min_duration = 10s
88-
when: debpkg_mode or nixpkg_mode and stage2_nix
89-
9090
- name: Cleanup - extension packages
9191
file:
9292
path: /tmp/extensions

0 commit comments

Comments
 (0)