Skip to content

supplyon/ansible-openshift-postgres-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

DB creation inside an OpenShift PostgreSQL Cluster instance

Requirements

  • Requires running postgresql instance inside an OpenShift Cluster

  • pip install psycopg2

  • ansible-playbook create-cluster-database.yaml

  • Pass required parameters to the playbook, e.g.

ansible-playbook create-azure-database.yaml -e POSTGRESQL_LOGIN_HOST=$DATABASE_URL -e POSTGRESQL_ADMIN_USER=$DATABASE_ADMIN_USER -e POSTGRESQL_ADMIN_PW=$DATABASE_ADMIN_USER -e DATABASE_NAME=$DATABASE_NAME -e ROLE_PASSWORD=$ROLE_PASSWORD

About

Ansible playbooks create Postgres instances inside an OpenShift Cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published