Skip to content

Commit 41409f9

Browse files
committed
demo-001-ap-alb-v0.8.5-alpha
1 parent 9bb253c commit 41409f9

File tree

2 files changed

+52
-39
lines changed

2 files changed

+52
-39
lines changed

README.md

Lines changed: 49 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,58 +8,54 @@ implements some extra, well maintained, Ansible Roles made by 3rd party.
88
Check the [ASCIInema demo](#asciinema-demo).
99

1010
> **About using this playbooks in production**: At very minimum, you will need to
11-
customize the inventory (on this version, the [hosts.yml](hosts.yml)). But
12-
in special for who is new to Ansible and want reusability, consider the
13-
[fititnt/ansible-linux-ha-cluster](https://github.com/fititnt/ansible-linux-ha-cluster)
14-
with the following in mind:
15-
16-
> - This is a playbooks colletion great quickstart on _how to glue_ some selected
17-
reusable Ansible Roles on your own private projects.
18-
- Some versions of this repository may be used to test more extreme cases of
19-
cross-platform cluster than you would like to have in production
20-
- Example: while would be possible to implement a cross-platform Galera Cluster
21-
for MariaDB/MySQL with true master-master replication using one node with
22-
RHEL 7, another with OpenSUSE 15 and the last one with Debian 10, this may
23-
require more work to debug from you.
24-
- Some playbooks, like the [infra-wireguard.yml](infra-wireguard.yml) are
25-
intentionally separated both to be used alone and also to allow replacement.
26-
- If you already have a VPN (via your cloud provider) or want some more
27-
classic VPN solution, like IPSec, do it!
11+
> customize the inventory (on this version, the [hosts.yml](hosts.yml)). But
12+
> in special for who is new to Ansible and want reusability, consider the
13+
> [fititnt/ansible-linux-ha-cluster](https://github.com/fititnt/ansible-linux-ha-cluster)
14+
> with the following in mind:
15+
>
16+
>- This is a playbooks colletion great quickstart on _how to glue_ some selected
17+
> reusable Ansible Roles on your own private projects.
18+
>- While the ansible-linux-ha-cluster may demonstrate cross-platform clusters
19+
> working together, using this on production may require some extra work than
20+
> you would have if choose less underlining operational systems.
21+
>- Some playbooks, like the [infra-wireguard.yml](infra-wireguard.yml) are
22+
> intentionally separated both to be used alone and also to allow replacement.
23+
> If you already have a VPN (via your cloud provider) you may want to
24+
> comment/remove this playbook. Enterprise users without one VPN may want some
25+
> more classic VPN solution, like IPSec.
2826
2927
## ASCIInema demo
3028

3129
_TODO: stop to record a ASCIInema of the cross-platform cluster fully automated from scratch (fititnt, 2019-12-15 13:07)_.
3230

33-
<!--
34-
Demo:
35-
36-
asciinema rec ap-alb-demo-004 --idle-time-limit 5 --title "ap-alb-demo (AP-ALB v0.6.4-beta)"
37-
38-
cat hosts && sleep 4 && cat main.yml && sleep 4 && cat apps-server.yml && sleep 4 && cat db-server.yml && sleep 4 && cat group_vars/all.yml && sleep 6 && cat group_vars/apps_servers.yml && sleep 6 && cat group_vars/apps_servers.yml
31+
[![asciicast](https://asciinema.org/a/288305.svg)](https://asciinema.org/a/288305)
3932

40-
ansible-playbook -i hosts main.yml
33+
When reading the source codes or watching the ASCIInema demos, the
34+
sufix of hosts give a hint. So `rocha_basalto_freebsd12` means FreeBSD version
35+
12, `ap_foxtrot_debian10` means Debian 10, etc. For the role versions, check
36+
[requirements.yml](requirements.yml) file.
4137

38+
<!--
39+
Demo:
4240
43-
Em caso de falha:
44-
ansible-playbook -i hosts main.yml --start-at-task="ALB/UFW clusterfuck-pre-check.yml"
45-
ansible-playbook -i hosts main.yml --start-at-task="Configure the kernel to keep connections alive when enabling the firewall"
46-
47-
Debug
41+
asciinema rec ansible-linux-ha-cluster-001 --idle-time-limit 5 --title "ansible-linux-ha-cluster-001 (AP-ALB v0.8-5-alpha)"
4842
49-
ansible-playbook ad-hoc/info/show-ufw-status.yml -i 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 4 && cat group_vars/all.yml && sleep 6 && cat hosts.yml
5044
51-
The **ansible-linux-ha-cluster** does not have one ASCIInema demonstration... yet.
52-
The following is from [ap-alb-demo](https://github.com/fititnt/ap-alb-demo).
45+
ansible-playbook -i hosts.yml main-infra.yml
5346
54-
[![asciicast](https://asciinema.org/a/281411.svg)](https://asciinema.org/a/281411)
47+
asciinema upload ansible-linux-ha-cluster-001
5548
5649
-->
5750

5851
---
5952

53+
## Table of Contents
54+
6055
<!-- TOC depthFrom:2 -->
6156

6257
- [ASCIInema demo](#asciinema-demo)
58+
- [Table of Contents](#table-of-contents)
6359
- [Usage](#usage)
6460
- [How to download this ansible-linux-ha-cluster to your machine](#how-to-download-this-ansible-linux-ha-cluster-to-your-machine)
6561
- [How to customize and use](#how-to-customize-and-use)
@@ -244,9 +240,26 @@ For who think this comment is strange, the cheapests VPSs from places like
244240
<https://www.serverhunter.com/> are paid by year and does not have IPv4.
245241

246242
### Operatinal System of the cluster nodes
247-
The ansible-linux-ha-cluster is tested mainly on Debian based distros (Ubuntu
248-
18.04 LTS). Some underline Roles already support other OSs. AP-ALB maybe will
249-
have support for RHEL/CentOS 8.
243+
The ansible-linux-ha-cluster was tested on several linux distributions and
244+
versions. For the role AP-ALB, some OSs may not implement all the features.
245+
Other roles made by 3rd party are not enabled when they did not support one OS.
246+
247+
- **Operational System (full AP-ALB features)**:
248+
- **Debian Family**
249+
- Debian 10
250+
- Ubuntu Server LTS 18.04
251+
- **RedHat Family**
252+
- CentOS 8, CentOS 7
253+
- RHEL 8, RHEL 7
254+
- **Tested(require extra steps, like compiling OpenResty, to implement all AP-ALB features)**
255+
- **Arch Linux**: _lastest_
256+
- **BSD Family**: _FreeBSD 12_
257+
- **SUSE Family**: _OpenSUSE 15_
258+
259+
When reading the source codes or watching the ASCIInema demos, the
260+
sufix of hosts give a hint. So `rocha_basalto_freebsd12` means FreeBSD version
261+
12, `ap_foxtrot_debian10` means Debian 10, etc. For the role versions, check
262+
[requirements.yml](requirements.yml) file.
250263

251264
## License
252265
[![Public Domain](https://i.creativecommons.org/p/zero/1.0/88x31.png)](UNLICENSE)

requirements.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
- src: https://github.com/fititnt/ap-application-load-balancer
1111
name: ap-application-load-balancer
12-
# version: master
13-
version: "v0.8.1-alpha"
12+
version: "v0.8.5-alpha"
1413

1514
# from galaxy
1615
- src: brianshumate.consul
16+
# Tested with v2.5.3, 2019-11-14
1717

1818
# from galaxy ansible-galaxy install githubixx.ansible_role_wireguard
1919
- src: githubixx.ansible_role_wireguard
20-
# Tested with v4.1.1
20+
# Tested with v4.1.1, 2019-11-11

0 commit comments

Comments
 (0)