451 B
451 B
Ansible Role PostgreSQL
Ansible Role to install postgresql and create database with user
Can be used to be included inside other roles to create databases.
Variables:
- postgresql_database -> Name of the database
- postgresql_password -> Name of the database
- postgresql_username -> Name of the database user
Variables have no defaults (imagine a default pw which would be everywhere!!!) and role will not do anything if not all variables given