# PostgreSQL database and user modules!

**URL:** <https://forum.ansible.com/t/postgresql-database-and-user-modules/11733>\
**Category:** Ansible Project\
**Created:** [July 27, 2012, 10:36pm UTC](https://forum.ansible.com/t/postgresql-database-and-user-modules/11733 "2012-07-27T22:36:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [July 27, 2012, 10:36pm UTC](https://forum.ansible.com/t/postgresql-database-and-user-modules/11733/1 "2012-07-27T22:36:29Z")

</div>

Very similar to the MySQL modules Mark Theunissen has provided earlier, we now have some PostgreSQL modules from Lorin Hochstein.

[https://github.com/ansible/ansible/blob/devel/library/postgresql\_db](https://github.com/ansible/ansible/blob/devel/library/postgresql_db)  
[https://github.com/ansible/ansible/blob/devel/library/postgresql\_user](https://github.com/ansible/ansible/blob/devel/library/postgresql_user)

As you can see, these take basically the same kinds of arguments.

These are new, so as usual, testing and comments are great to have.

If you want to create users and databases via Ansible, either the PostgreSQL or MySQL modules may be very interesting to you.

Check em out!

--Michael
