Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petr-korobeinikov/ansible-role-pgbouncer

Pgbouncer installation.
https://github.com/petr-korobeinikov/ansible-role-pgbouncer

ansible ansible-role infrastructure-as-code infrastructure-management pgbouncer postgres postgresql

Last synced: about 1 month ago
JSON representation

Pgbouncer installation.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/pkorobeinikov/ansible-role-pgbouncer.svg?branch=master)](https://travis-ci.org/pkorobeinikov/ansible-role-pgbouncer)

pkorobeinikov.pgbouncer
=======================

Pgbouncer installation.

Requirements
------------

You must provide your own `pgbouncer.ini.j2` and `userlist.txt.j2` templates.

Role Variables
--------------

* `pgbouncer_package_version` is an exact package version, e.g. `1.7.2-1.pgdg14.04+1`.
* `pgbouncer_pgbouncer_ini_template` is a path to `pgbouncer.ini.j2` template within current playbook.
* `pgbouncer_userlist_txt_template` is a path to `userlist.txt.j2` template within current playbook.

Dependencies
------------

None.

Example Playbook
----------------

- hosts: servers
roles:
- role: pkorobeinikov.pgbouncer
pgbouncer_package_version: 1.7.2-1.pgdg14.04+1
pgbouncer_pgbouncer_ini_template: pgbouncer/pgbouncer.ini.j2
pgbouncer_userlist_txt_template: pgbouncer/userlist.txt.j2

License
-------

BSD, MIT