File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 22
22
-e 's/pgsodium.getkey_script=/#pgsodium.getkey_script=/'
23
23
/etc/postgresql/postgresql.conf
24
24
when : debpkg_mode or stage2_nix
25
-
25
+
26
+ - name : Verify pgsodium and vault removal from config
27
+ become : yes
28
+ become_user : postgres
29
+ shell :
30
+ cmd : |
31
+ FOUND=$(grep -E "shared_preload_libraries.*pgsodium|shared_preload_libraries.*supabase_vault|^pgsodium\.getkey_script" /etc/postgresql/postgresql.conf)
32
+ if [ ! -z "$FOUND" ]; then
33
+ echo "Found unremoved references:"
34
+ echo "$FOUND"
35
+ exit 1
36
+ fi
37
+ register : verify_result
38
+ failed_when : verify_result.rc != 0
39
+ when : debpkg_mode or stage2_nix
40
+
26
41
- name : Start Postgres Database to load all extensions.
27
42
become : yes
28
43
become_user : postgres
You can’t perform that action at this time.
0 commit comments