sa-postgres-workplace

SA-POSTGRES-WORKPLACE

Build Status

You have possibility to color output with native psql tool with option_grcat_coloring or use more sophisticated tool pgcli with option_pgcli, but you would need python and pip on a host.

Possible overrides:


option_install_psql: true  # install client tools
postgresql_version: 9.6    # for postgres 9.6
option_install_python: true
option_grcat_coloring: true
option_pgcli: true

Example of use: https://github.com/Voronenko/devops-ruby-app-demo

Simple:



     - {
         role: "sa-postgres-workplace"
       }

Advanced:



     - {
         role: "sa-postgres-workplace",
         option_install_psql: true,  # install client tools
         postgresql_version: 9.6,    # for postgres 9.6
         option_install_python: true,
         option_grcat_coloring: true,
         option_pgcli: true


       }

usage with ansible-galaxy workflow

If you installed the sa-postgres-workplace role using the command

ansible-galaxy install softasap.sa-postgres-workoplace

the role will be available in the folder library/softasap.sa-postgres-workplace Please adjust the path accordingly.


     - {
         role: "softasap.sa-postgres-workplace"
       }

Code is dual licensed under the [BSD 3 clause] (https://opensource.org/licenses/BSD-3-Clause) and the [MIT License] (http://opensource.org/licenses/MIT). Choose the one that suits you best.

Reach us:

Subscribe for roles updates at [FB] (https://www.facebook.com/SoftAsap/)

Join gitter discussion channel at Gitter

Discover other roles at http://www.softasap.com/roles/registry_generated.html

visit our blog at http://www.softasap.com/blog/archive.html

Install
ansible-galaxy install softasap/sa-postgres-workplace
GitHub repository
License
Unknown
Downloads
33
Owner
Get your application deployed in a robust way