Changed modules from 'action' to 'postgresql_db' and 'postgresql_user', introduced into Ansible as of version 0.6. Also changed parameter 'user' to 'name' as specified in the current documentation.