Skip to content

Commit 10ccf47

Browse files
committed
demo-002-ap-alb-v0.8.6-alpha.1
1 parent 41409f9 commit 10ccf47

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Check the [ASCIInema demo](#asciinema-demo).
2626
2727
## ASCIInema demo
2828

29-
_TODO: stop to record a ASCIInema of the cross-platform cluster fully automated from scratch (fititnt, 2019-12-15 13:07)_.
29+
_TODO: fix last minute issue about luarocks path of lua-resty-auto-ssl on CentOS 7 (fititnt, 2019-12-17 20:34)_.
3030

31-
[![asciicast](https://asciinema.org/a/288305.svg)](https://asciinema.org/a/288305)
31+
[![asciicast](https://asciinema.org/a/cstOUXeVk5RvxLegKAlLjIXTM.svg)](https://asciinema.org/a/cstOUXeVk5RvxLegKAlLjIXTM)
3232

3333
When reading the source codes or watching the ASCIInema demos, the
3434
sufix of hosts give a hint. So `rocha_basalto_freebsd12` means FreeBSD version
@@ -38,13 +38,13 @@ sufix of hosts give a hint. So `rocha_basalto_freebsd12` means FreeBSD version
3838
<!--
3939
Demo:
4040
41-
asciinema rec ansible-linux-ha-cluster-001 --idle-time-limit 5 --title "ansible-linux-ha-cluster-001 (AP-ALB v0.8-5-alpha)"
41+
asciinema rec ansible-linux-ha-cluster-002 --idle-time-limit 5 --title "ansible-linux-ha-cluster-002 (AP-ALB v0.8-6-alpha)"
4242
43-
cat main-infra.yml && sleep 4 && cat infra-wireguard.yml && sleep 4 && cat infra-consul.yml && sleep 4 && cat infra-alb.yml && sleep 4 && cat group_vars/all.yml && sleep 6 && cat hosts.yml
43+
cat main-infra.yml && sleep 4 && cat infra-wireguard.yml && sleep 4 && cat infra-consul.yml && sleep 4 && cat infra-alb.yml && sleep 6 && cat hosts.yml
4444
4545
ansible-playbook -i hosts.yml main-infra.yml
4646
47-
asciinema upload ansible-linux-ha-cluster-001
47+
asciinema upload ansible-linux-ha-cluster-002
4848
4949
-->
5050

hosts.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ all:
3737
# alb_openresty_ip by default bind to 127.0.0.1 (:8080, :4443)
3838
# If using only firewall and still want load balance, you could use 0.0.0.0
3939
# If you can have private networking (our case) set to the private IP.
40-
# alb_openresty_ip: 10.8.0.101
41-
alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
40+
alb_openresty_ip: 10.8.0.101
41+
# alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
4242

4343
# wireguard_endpoint: must be one way, without Wireguard, to this host be reached by others
4444
wireguard_endpoint: aguia-pescadora-echo.etica.ai
@@ -51,24 +51,26 @@ all:
5151
ansible_host: aguia-pescadora-foxtrot.etica.ai
5252
ansible_python_interpreter: "/usr/bin/python3"
5353

54-
#alb_openresty_ip: 10.8.0.102
55-
alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
54+
alb_openresty_ip: 10.8.0.102
55+
# alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
5656
wireguard_endpoint: aguia-pescadora-foxtrot.etica.ai
5757
wireguard_address: "10.8.0.102/24"
5858

5959
ap_golf_centos7:
6060
ansible_host: aguia-pescadora-golf.etica.ai
6161
ansible_python_interpreter: "/usr/bin/python" # CentOS 7 still use Python 2, not "/usr/bin/python3"
6262

63-
#alb_openresty_ip: 10.8.0.103
64-
alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
63+
alb_openresty_ip: 10.8.0.103
64+
# alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
6565
wireguard_endpoint: aguia-pescadora-golf.etica.ai
6666
wireguard_address: "10.8.0.103/24"
6767

6868
rocha_anortosito_centos8:
6969
ansible_host: rocha-anortosito.vps.fititnt.org
7070
ansible_python_interpreter: "/usr/bin/python3"
7171

72+
alb_openresty_ip: 10.8.0.104
73+
# alb_openresty_ip: 0.0.0.0 # Quick Testing for RHEL/CentOS without external roles
7274
wireguard_endpoint: rocha-anortosito.vps.fititnt.org
7375
wireguard_address: "10.8.0.104/24"
7476

@@ -244,6 +246,11 @@ all:
244246
# app_auth_basic_user_file: "/opt/alb/sysapps/.htaccess"
245247
# app_auth_basic_enabled: true
246248

249+
# http://haproxy.167.86.127.220.nip.io:8404/haproxy?stats
250+
# http://haproxy.167.86.127.225.nip.io:8404/haproxy?stats
251+
# http://haproxy.144.91.108.24.nip.io:8404/haproxy?stats
252+
# http://haproxy.144.91.107.138.nip.io:8404/haproxy?stats
253+
247254
alb_sysapps:
248255

249256
- app_uid: "consul"

requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
- src: https://github.com/fititnt/ap-application-load-balancer
1111
name: ap-application-load-balancer
12-
version: "v0.8.5-alpha"
12+
version: "v0.8.6-alpha"
1313

1414
# from galaxy
1515
- src: brianshumate.consul

0 commit comments

Comments
 (0)