diff --git a/ansible/tasks/test-image.yml b/ansible/tasks/test-image.yml index b9bc04b82..573633a9a 100644 --- a/ansible/tasks/test-image.yml +++ b/ansible/tasks/test-image.yml @@ -52,11 +52,11 @@ when: ebssurrogate_mode - name: Drop pgTap extension - shell: /usr/lib/postgresql/bin/psql -U postgres -h localhost -d postgres -c "DROP extension if exists pgtap"; + shell: /usr/lib/postgresql/bin/psql -U supabase_admin -h localhost -d postgres -c "DROP extension if exists pgtap"; when: ebssurrogate_mode - name: Drop extension test function - shell: /usr/lib/postgresql/bin/psql -U postgres -h localhost -d postgres -c "DROP FUNCTION IF EXISTS install_available_extensions_and_test"; + shell: /usr/lib/postgresql/bin/psql -U supabase_admin -h localhost -d postgres -c "DROP FUNCTION IF EXISTS install_available_extensions_and_test"; when: ebssurrogate_mode - name: Reset db stats