diff --git a/ansible1/roles/postgresql/tasks/main.yml b/ansible1/roles/postgresql/tasks/main.yml index d02d5f013..e06c402a8 100644 --- a/ansible1/roles/postgresql/tasks/main.yml +++ b/ansible1/roles/postgresql/tasks/main.yml @@ -78,13 +78,11 @@ postgresql_db: name: "{{ postgres_db_development_name }}" become: yes - become_user: "{{ postgres_user }}" - name: Create PostgreSQL DB postgresql_db: name: "{{ postgres_db_test_name }}" become: yes - become_user: "{{ postgres_user }}" - name: Include encrypted secrets include_vars: diff --git a/ansible1/roles/postgresql/vars/main.yml b/ansible1/roles/postgresql/vars/main.yml index 0ab5991d8..ab1e06330 100644 --- a/ansible1/roles/postgresql/vars/main.yml +++ b/ansible1/roles/postgresql/vars/main.yml @@ -10,7 +10,7 @@ postgres_version: 12 postgresql_python_library: "python3-psycopg2" postgresql_hba_entries: - { type: local, database: all, user: postgres, auth_method: trust } - - { type: local, database: all, user: all, auth_method: md5 } + - { type: local, database: all, user: all, auth_method: trust } - { type: host, database: all,