# postgres\_priv module to alter schema public owner possible?

**URL:** <https://forum.ansible.com/t/postgres-priv-module-to-alter-schema-public-owner-possible/17894>\
**Category:** Ansible Project\
**Created:** [April 2, 2015, 6:24pm UTC](https://forum.ansible.com/t/postgres-priv-module-to-alter-schema-public-owner-possible/17894 "2015-04-02T18:24:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.neudorfer](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@david.neudorfer](https://forum.ansible.com/u/david.neudorfer)\
**Post date:** [April 2, 2015, 6:24pm UTC](https://forum.ansible.com/t/postgres-priv-module-to-alter-schema-public-owner-possible/17894/1 "2015-04-02T18:24:29Z")

</div>

Currently, we’re running this command to alter the owner of the public schema

`/usr/bin/psql -d {{ item.db }} -c "alter schema public owner to {{ item.user }}"`

Is this possible to do with the postgresql\_privs or postgresql\_db module?
