diff --git a/roles/postgresql-for-tandoor/tasks/main.json b/roles/postgresql-for-tandoor/tasks/main.json index 0bb0903..e92a715 100644 --- a/roles/postgresql-for-tandoor/tasks/main.json +++ b/roles/postgresql-for-tandoor/tasks/main.json @@ -27,7 +27,7 @@ { "name": "schema", "become": true, - "become_user": "tandoor", + "become_user": "postgres", "community.postgresql.postgresql_db": { "state": "present", "name": "{{var_postgresql_for_tandoor_schema}}", @@ -37,7 +37,7 @@ { "name": "rights", "become": true, - "become_user": "tandoor", + "become_user": "postgres", "community.postgresql.postgresql_privs": { "state": "present", "db": "{{var_postgresql_for_tandoor_schema}}",