Skip to content

Commit 433827d

Browse files
committed
fix: comma handling
1 parent 3cc0f96 commit 433827d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ansible/tasks/test-image.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
become: true
1717
become_user: 'postgres'
1818
loop:
19-
- { in: "^(shared_preload_libraries = '.*)pgsodium(.*')", out: '\1\2' }
20-
- { in: "^(shared_preload_libraries = '.*)supabase_vault(.*')", out: '\1\2' }
21-
- { in: "^(shared_preload_libraries = '.*)*supabase_vault(.*')", out: '\1\2' }
19+
- { in: "^(shared_preload_libraries = '.*),\\s*pgsodium(.*')", out: '\1\2' }
20+
- { in: "^(shared_preload_libraries = '.*)pgsodium,\\s*(.*')", out: '\1\2' }
21+
- { in: "^(shared_preload_libraries = '.*),\\s*supabase_vault(.*')", out: '\1\2' }
22+
- { in: "^(shared_preload_libraries = '.*)supabase_vault,\\s*(.*')", out: '\1\2' }
2223
- { in: '^(pgsodium\.getkey_script=)', out: '#\1' }
2324
loop_control:
2425
loop_var: 'regx'

0 commit comments

Comments
 (0)