Giter Site home page Giter Site logo

ascii1011 / ansible-postgresql-on-el6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lesovsky/ansible-postgresql-on-el6

0.0 3.0 0.0 15 KB

Install PostgreSQL on Enterprise Linux 6 distributions (RHEL/Centos/Scientific/Oracle) with Ansible

ansible-postgresql-on-el6's Introduction

README: install-postgresql-on-el

Features:

  • supported distributions: 6 and 7 versions of Redhat, CentOS, Scientific Linux.
  • Oracle Linux also supported but uses RHEL repositories.
  • supported PostgreSQL versions: 8.4, 9.0, 9.1, 9.2, 9.3, 9.4.
  • allows specify users and databases which would be created after install.
  • ability to determine a set of postgresql.conf parameters and absense postgresql.conf template. Template is not used due to the fact that the postgresql.conf differs from version to version on a set of parameters.
  • ability to specify another cluster directory and setup symlink into /var/lib/pgsql/x.y/data location.
  • ability to specify extension list for created databases (only for versions >= 9.0).

Known issues:

  • RHEL 6: packages from pgdg repo does not install due to repo configuration parsing error. Workaround: replace $releasever variable to your specific release version. This issue does not occurs on the others distributions.
  • RHEL 6: posqtgresqlXY-contrib doesn't install due to dependency error. In my case, this may be caused by the use of an unregistered RedHat distribution and unofficial third-party repositories. On the Oracle Enterprise Linux this issue does not occur.

Todo:

How-to use:

  • download repo with git clone;
  • cd into role directory;
  • change hosts: variable in role.yml;
  • start ansible-playbook with role.yml and your inventory file.
ansible-playbook -i /etc/ansible/staging role.yml

ansible-postgresql-on-el6's People

Contributors

lesovsky avatar programmer-ke avatar sergiosdlima avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.