Deploy a Postgres RDBMS for development purpose.
Ansible and an internet connection.
On Archlinux, pacman
must be already installed.
On OSX, homebrew
must be already installed.
postgresql_user
is the linux user PostgreSQL runs underpostgresql_data_dir
is the location on disk data files are storedpostgresql_max_connections
is the maximum number of connection allowedpostgresql_allow_remote_connections
indicates whether or not to allow connections from other computers
none
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: quocvu.postgresql-archlinux, postgresql_max_connections: 10 }
MIT
Quoc Vu