This role will install PostgreSQL with some minimal configuration, mostly benefits RHEL/CentOS users.
RHEL/CentOS Debian/Ubuntu
main.yml -
auth_network: "192.168.42.0/32"
listen_address: "listen_addresses = 'localhost'"
pgsql_local_auth: "password"
pgsql_net_auth: "password"
RedHat.yml -
RedHat_server_pkgs:
- postgresql
- postgresql-server
- postgresql-devel
- python-psycopg2
pg_data_dir: '/var/lib/pgsql/data'
Debian.yml
Debian_server_pkgs:
- postgresql-client-9.1
- postgresql-9.1
- postgresql-contrib
- python-psycopg2
None.
BSD
Luke Tislow