Ansible Role for Postgres
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
handlers
meta
tasks
templates/etc/postgresql/VERSION
vars
LICENSE
README.md

README.md

ansible-postgresql

PostgreSQL is a powerful, open source object-relational database system.

Platforms

Tunables

  • postgresql_client (boolean) - Install PostgreSQL client?
  • postgresql_server (boolean) - Install PostgreSQL server?
  • postgresql_user (string) - User to run postgresql as
  • postgresql_runtime_root (string) - Directory for runtime data
  • postgresql_pidfile_path (string) - Path for pidfile
  • postgresql_accepts_external_connections (boolean) - Allow connections from places that aren't localhost?
  • postgresql_backup_enabled (boolean) - Enable backups?
  • postgresql_backup_path (string) - Directory to store backups
  • postgresql_backup_frequency (string) - Frequency of backups

Dependencies

Example Playbook

- hosts: servers
  roles:
     - role: colstrom.postgresql
       postgresql_server: yes
       postgresql_backup_enabled: yes
       postgresql_backup_frequency: daily
       postgresql_backup_path: /data/backup/postgresql

License

MIT

Contributors