Skip to content

This is just example configuration for deploying requested test infrastructure with Postgres cluster with pglogical replication one table from one db. Docker compose parts for creating test target hosts in docker containers.

Notifications You must be signed in to change notification settings

ij3net/test-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#!/bin/bash
#!!! Main part of test task in ansible subdirectory as playbook.

#This part create docker containers with installed supervisor and running ssh for using as testing targets.

git clone https://github.com/ij3net/test-task.git

cd ./test-task/pg_cluster

ln -s ./master ./slave
# ^can be ./slave[n]
sudo docker compose up

#This part deploing requested configuration to configured invertory
cd ./ansible/

#Setup invertory

vi ./invertory

#Fill
vi ./defaults/main.yml

#Edit names to correspond previous.
vi ./role.yml

ansible-playbook -i inventory role.yml

About

This is just example configuration for deploying requested test infrastructure with Postgres cluster with pglogical replication one table from one db. Docker compose parts for creating test target hosts in docker containers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages