8000 move checking of pg_bindir in pgsodium installation · cepro/postgres@23aec71 · GitHub
[go: up one dir, main page]

Skip to content

Commit 23aec71

Browse files
dragarciadarora
authored andcommitted
move checking of pg_bindir in pgsodium installation
- This is the only place for now that makes use of it.
1 parent 56d74a9 commit 23aec71

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

ansible/tasks/docker/setup.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
- set_fact:
2828
platform: "{{ platform_output.stdout }}"
2929

30-
- name: Setup - determine postgres bin directory
31-
shell: pg_config --bindir
32-
register: pg_bindir_output
33-
- set_fact:
34-
pg_bindir: "{{ pg_bindir_output.stdout }}"
35-
3630
- name: Setup - import postgresql.conf
3731
template:
3832
src: files/postgresql_config/postgresql.conf.j2

ansible/tasks/postgres-extensions/18-pgsodium.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# libsodium and pgsodium
2+
- name: determine postgres bin directory
3+
shell: pg_config --bindir
4+
register: pg_bindir_output
5+
- set_fact:
6+
pg_bindir: "{{ pg_bindir_output.stdout }}"
7+
28
- name: libsodium - download libsodium
39
get_url:
410
url: "https://download.libsodium.org/libsodium/releases/libsodium-{{ libsodium_release }}.tar.gz"

ansible/tasks/setup-system.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@
6262
- update
6363
- update-only
6464

65-
- name: determine postgres bin directory
66-
shell: pg_config --bindir
67-
register: pg_bindir_output
68-
- set_fact:
69-
pg_bindir: "{{ pg_bindir_output.stdout }}"
70-
7165
- name: System - Create services.slice
7266
template:
7367
src: files/services.slice.j2

0 commit comments

Comments
 (0)
0