Git Product home page Git Product logo

postgresql's Introduction

Ansible Role: oms_postgreSQL

This role can be used to install postgreSQL with version 9.5 and above. This role is customizable, it support basic functionalities like creating database and users. Users can modify the role as per there requirements.

Version History

Date Version Description Changed By
July '25 v0.0.1 Initial Draft Ishan Ji Gupta, Abhishek Vishwakarma

Supported OS

  • CentOS:7
  • CentOS:6
  • Ubuntu:bionic
  • Ubuntu:xenial

Requirements

There is no such requirements for the role.

Role Variables

The role variables are defined in the vars. Here is the list of variables that is used in this role

Variable Description
postgresql_database Set true when want to create database
version Define version of postgresql
postgresql_users Set true when want to create user
user_list_attr List of users to create
database_list List of database to create
user User of the postgreSQL
group Group of the postgreSQL

Inventory

An inventory should look like this:-

[postgres]                 
192.168.1.198    ansible_user=ubuntu   
192.168.3.201    ansible_user=opstree 

Example Playbook

Sample playbook will look something like this,

- hosts: postgres
  roles:
     - postgresql

Testing

To test using molecule, define package to install, user list and database list in test_default.py

Author Information

Ishan Ji Gupta ([email protected])

postgresql's People

Contributors

prashant129 avatar oo4abhishek avatar

Watchers

James Cloos 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.