-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbalbinka.ccc
34 lines (32 loc) · 933 Bytes
/
balbinka.ccc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## CONFIG 1
ansible-playbook config-1-playbook.yml -e \
"mysql_master=mysql-petclinic-slave \
mysql_master_port=30703 \
rest_write=nginx-load-balancer \
rest_write_port=7776 \
angular=spring-petclinic-angular \
angular_port=8998"
## CONFIG 3
ansible-playbook config-3-playbook.yml -e \
"mysql_master=mysql-petclinic-slave \
mysql_master_port=30703 \
mysql_slave=mysql-petclinic-slave \
mysql_slave_port=30704 \
rest_write=nginx-load-balancer \
rest_write_port=7776 \
angular=spring-petclinic-angular \
angular_port=8998"
## CONFIG 4
ansible-playbook config-4-playbook.yml -e \
"mysql_master=mysql-petclinic-slave \
mysql_master_port=30703 \
mysql_slave=mysql-petclinic-slave \
mysql_slave_port=30704 \
rest_write=nginx-load-balancer \
rest_write_port=7776 \
rest_read=nginx-load-balancer \
rest_read_port=7775 \
load_balancer=spring-petclinic-angular \
load_balancer_port=8008
angular=spring-petclinic-angular \
angular_port=8998"